ncurses link problem...
Alan Modra
amodra@bigpond.net.au
Thu Jun 27 17:40:00 GMT 2002
On Thu, Jun 27, 2002 at 03:54:06PM -0500, Peter Bergner wrote:
> Note: 64-bit libncurses.so lives in /opt/ppc64-20020627/extras/lib64
> and /opt/ppc64-20020627/extras/lib64 is in ld.so.conf.
>[snip]
> brule% /opt/ppc64-20020627/powerpc64-linux/bin/gcc rain.c -lncurses
You'll need a -L here. The magic ld.so.conf (and LD_LIBRARY_PATH,
LD_RUN_PATH) searchs are only for libraries in a DT_NEEDED entry.
ie. when you specify -lfoo without -lbar, and foo.so needs bar.so
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list