This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ncurses link problem...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]