Re: Curious warning from linker re libc5/libc6
jdassen@wi.leidenuniv.nl wrote:
>On Mon, Feb 23, 1998 at 04:37:15PM +0000, Oliver Elphick wrote:
...
>> -L/usr/i486-linuxlibc1/lib -L/usr/lib/libc5-compat -lXt -lX11
>> /usr1/Eiffel4/bench/spec/linux/lib/libwkbench.a -lbsd -lm
>>
>> and this is what it produces:
>> ld: cannot open -lXt: No such file or directory
>
>Hmmm.. Please do a ls -al /usr/i486-linuxlibc1/lib/libXt*
linda:/usr1/home/olly$ ls -al /usr/i486-linuxlibc1/lib/libXt*
ls: /usr/i486-linuxlibc1/lib/libXt*: No such file or directory
linda:/usr1/home/olly$ dpkg -S libXt.so
xlib6g-dev: /usr/X11R6/lib/libXt.so
xlib6g: /usr/X11R6/lib/libXt.so.6
xlib6g: /usr/X11R6/lib/libXt.so.6.0
xlib6: /usr/lib/libc5-compat/libXt.so.6.0
linda:/usr1/home/olly$ grep libXt.so ~/Contents*
usr/X11R6/lib/libXt.so x11/xlib6g-dev
usr/X11R6/lib/libXt.so.6 x11/xlib6g
usr/X11R6/lib/libXt.so.6.0 x11/xlib6g
usr/i486-linuxlibc1/lib/libXt.so
oldlibs/xlib6-altdev
usr/lib/libc5-compat/libXt.so.6.0 oldlibs/xlib6
So it looks as if it's because I'm missing the package xlib6-altdev...
I installed xlib6-altdev and tried again. Now I get the same message
on a different library:
ld: warning: libc.so.6, needed by /usr/X11R6/lib/libSM.so.6, may conflict
with libc.so.5
There is a libSM.so.6 in /usr/lib/libc5-compat, and it is pointed to by a
symbolic link in /usr/i486-linuxlibc1/lib/libSM.so, but this is
consistently ignored by the compiler. I haven't specified /usr/X11R6/lib
anywhere, but it's still going there!
Why??? What is making the linker decide that the libc5 library won't do?
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP key from public servers; key ID 32B8FAA1
--
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: