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

Re: I'm confused or statically linked libraries



On Mon, Nov 03, 1997 at 01:28:07AM -0800, Darren/Torin/Who Ever... wrote:
> Here's the sample compiler/linker/ldd lines:
> gcc -O2 -c -I. -Impn -I. -O3 -D_REENTRANT -fPIC  extract-double.c
> gcc -O2 -c -I. -Impn -I. -O3 -D_REENTRANT -fPIC  insert-double.c
> gcc -shared -Wl,-soname,libgmp.so.2 -lc -o libgmp.so.2.0.2 *.o */*.o
> {3}[1]~SRC/debian/local/gmp/gmp-2.0.2 kitchen:-) ldd libgmp.so.2.0.2
>         statically linked

Try ldd ./libgmp.so.2.0.2
        ^^

ldd's search behaviour is counterintuitive (see bug #10652).

HTH,
Ray
-- 
LEADERSHIP  A form of self-preservation exhibited by people with auto-
destructive imaginations in order to ensure that when it comes to the crunch 
it'll be someone else's bones which go crack and not their own.       
- The Hipcrime Vocab by Chad C. Mulligan    


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: