bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ncurses 5.5 with patches up to 20060318 - lib/libtinfo.so: undefined


From: Thomas Dickey
Subject: Re: ncurses 5.5 with patches up to 20060318 - lib/libtinfo.so: undefined reference to `_nc_handle_sigwinch'
Date: Fri, 31 Mar 2006 19:39:25 -0500 (EST)

On Fri, 31 Mar 2006, Arkadiusz Miskiewicz wrote:

It fails:

x86_64-pld-linux-gcc ../obj_s/tic.o ../obj_s/dump_entry.o -L../lib -ltinfo
-ldl  -I../progs -I../../progs -DHAVE_CONFIG_H -I../../progs/../include -I.
-I../include  -D_GNU_SOURCE -DNDEBUG -I/usr/include/ncurses -march=x86-64 -O2
-DPURE_TERMINFO -D_FILE_OFFSET_BITS=64 -fPIC  -o tic
.../lib/libtinfo.so: undefined reference to `_nc_handle_sigwinch'
collect2: ld returned 1 exit status
make[1]: *** [tic] Error 1
make[1]: Leaving directory
`/home/users/arekm/rpm/BUILD/ncurses-5.5/obj-narrowc/progs'

when --with-termlib is used. Should be easy to repeat. _nc_handle_sigwinch
function is defined in separate dir not linked into libtinfo it seems.

very likely there is an already-installed copy of ncurses which is conflicting with this. I don't recall if the rpath (configure) option
would help here (it has drawbacks), but you may get better results by
setting LD_LIBRARY_PATH to your build-tree's lib-directory, as the
misc/shlib script would do, e.g.,

        sh misc/shlib make

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]