Subject: Re: 1.4.2 to 1.5_BETA and library problems
To: Jeremy C. Reed <reed@reedmedia.net>
From: Frederick Bruckman <fb@enteract.com>
List: current-users
Date: 11/04/2000 09:26:04
On Sat, 4 Nov 2000, Jeremy C. Reed wrote:
> On Sat, 4 Nov 2000, Frederick Bruckman wrote:
> > The real question is, why it's using static libXt.a instead of the
> > shared libXt.so. What does "file /usr/X11R6/lib/libXt.*" say?
>
> $ file /usr/X11R6/lib/libXt.*
> /usr/X11R6/lib/libXt.a: current ar archive
> /usr/X11R6/lib/libXt.so.6: symbolic link to libXt.so.6.0
> /usr/X11R6/lib/libXt.so.6.0: ELF 32-bit LSB shared object, Intel 80386,
> version 1, not stripped
You're missing the symlink "libXt.so -> libXt.so.6.0", and /emul/aout
isn't supposed to have any symlinks at all. Try fixing all that ("cd
/emul/aout/usr/X11R6/lib; mv *.so *.so.? /usr/X11R6/lib" should pretty
much do it), and see what happens.
It my guess that you moved the *.so symlinks to /emul/aout, making the
shared libraries invisible to the ELF linker, which forces everything
to build static. If you really did want to build static, you could
probably do that by changing the order of the libraries on the command
line, so that -lSM follows -lXt, but the correct solution is to fix up
your tree.
> I also have under /emul/aout...
>
> $ file /emul/aout/usr/X11R6/lib/libXt.*
> /emul/aout/usr/X11R6/lib/libXt.a: current ar archive random library
> /emul/aout/usr/X11R6/lib/libXt.so: symbolic link to libXt.so.6.0
> /emul/aout/usr/X11R6/lib/libXt.so.6: symbolic link to libXt.so.6.0
> /emul/aout/usr/X11R6/lib/libXt.so.6.0: NetBSD/i386 demand paged shared
--
Frederick