-----BEGIN PGP SIGNED MESSAGE----- On 2 Jun 1998, Tor Slettnes wrote:
> > It seems that if I have /usr/X11R6/lib in my $LD_LIBRARY_PATH, > libc5 applications such as Netscape, StarOffice 4.0 and WordPerfect > causes segmentation fault right away. Here's my best attempt at an explanation of all this. The libs in /usr/X11R6/lib (mostly) are built with dependencies on libc6. Setting LD_LIBRARY_PATH overrides the setting in /etc/ld.so.conf, forcing netscape to link with the libc6 dependant libraries. If, when you've got the LD_LIBRARY_PATH set, you do an ldd on the netscape executable, you'll see that it is linking with both libc5 and libc6. This is BAD, and won't work. By not setting LD_LIBRARY_PATH, you're letting ld.so figure out which are the correct libraries to link with netscape (based on dependencies built in to the libraries), and the crash doesn't occur. If you do an ldd on the netscape executable *without* LD_LIBRARY_PATH set, then you'll see that it only links with libc5, which is correct. So, to sum it up, when netscape is dynamically linked with the libs in /usr/X11R6/lib, it is also forced to link with libc6. Since it wasn't built against libc6, it crashes. I hope this was clear and helpful (and more or less correct). Noah PGP public key available at http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html or by 'finger -l [EMAIL PROTECTED]' -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNXQF4odCcpBjGWoFAQFxzwP9EZdDymOHqF9S8wcAtpgWX/J4jzHR/I19 7so8xVSgosLMQ9XXarii1TkXE8z8MrJc5U+Yb/wIU4ZKDs1cROKxCYdV7ljK3NpP 7lgzfKFFMdJlfbrsYeSVVLw/q3qEigkLHgEou3WGfHlovFTU4grD/xXjatcQHume x8WQqFn2Kek= =SjUi -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]