[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils
Subject:    Re: ncurses link problem...
From:       Alan Modra <amodra () bigpond ! net ! au>
Date:       2002-06-28 0:52:42
Message-ID: 20020628004042.GJ22093 () bubble ! sa ! bigpond ! net ! au
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic