Re: is gcc 2.8 safe to use yet ?

Wolfram Gloger (wmglo@dent.med.uni-muenchen.de)
19 Mar 1998 15:27:44 -0000


> As soon as I re-configured X for 'Thread-Safe-API' all libc5 X binaries
> :(hundreds) stopped working. Looks like I won't be able to run Netscape
> again until the source hits the web, as only freshly linked X binaries
> run without segfaulting.
>
> ldd netscape
...
> libc.so.5 => /lib/libc.so.5 (0x40143000)
> libm.so.5 => /lib/libm.so.5 (0x401ff000)
> libc.so.6 => /lib/libc.so.6 (0x40208000)

Here is the problem. A binary linked against libc.so.5 _and_
libc.so.6 cannot possibly work. The libc.so.6 is linked in because
your newly compiled X libs depend on it (they are created with gcc
-shared ... -lc), even though your netscape binary of course doesn't
depend on it.

This is offtopic for linux-kernel, but it will hit lots of people.
The solution is either get new binaries, or to keep the X11 libs for
libc-5 in a different place. The latest ld.so packages have support
for managing this situation.

Regards,
Wolfram.

-- 
`Surf the sea, not double-u three...'
wmglo@dent.med.uni-muenchen.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu