Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Error encountered during installation
- X-seq: zsh-workers 53279
- From: "Jun. T" <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Samson Leong <samson32081@xxxxxxxxx>
- Subject: Re: Error encountered during installation
- Date: Tue, 24 Dec 2024 21:37:13 +0900
- Archived-at: <https://zsh.org/workers/53279>
- In-reply-to: <CA+qMSXaT7=_COKqd-3FkfqVKFO_V-MHeuKxFGv4hg-NPTkD-mw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CA+qMSXaT7=_COKqd-3FkfqVKFO_V-MHeuKxFGv4hg-NPTkD-mw@mail.gmail.com>
> 2024/12/24 20:14, Samson Leong <samson32081@xxxxxxxxx> wrote:
>
> • But when it comes to make, I encounter this error:
> gcc -L${HOME}/lib -shared -o curses.so curses..o -ldl -lncursesw -lrt -lm -lc
> /usr/bin/ld: ${HOME}/lib/libncursesw.a(lib_tputs.o): warning: relocation against `ospeed' in read-only section `.text'
> /usr/bin/ld: ${HOME}/lib/libncursesw.a(lib_bkgd.o): relocation R_X86_64_PC32 against symbol `SP' can not be used when making a shared object; recompile with -fPIC
You need the shared library libncursesw.so instead of the static library
libncursesw.a.
When you configure ncurses, please try:
$ ./configure --with-shared --prefix=$HOME --other-options...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author