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

Re: libc5 applications (Netscape, StarOffice, WordPerfect) segfault



>>>>> "Noah" == Noah L Meyerhans <frodo@ccs.neu.edu> writes:
>>>>> "Tor" == Tor Slettnes wrote:

    Tor> It seems that if I have /usr/X11R6/lib in my
    Tor> $LD_LIBRARY_PATH, libc5 applications such as Netscape,
    Tor> StarOffice 4.0 and WordPerfect causes segmentation fault
    Tor> right away.

    Noah> Here's my best attempt at an explanation of all this.  The
    Noah> libs in /usr/X11R6/lib (mostly) are built with dependencies
    Noah> on libc6.  Setting LD_LIBRARY_PATH overrides the setting in
    Noah> /etc/ld.so.conf, forcing netscape to link with the libc6
    Noah> dependant libraries.

Thank you, Noah - this makes a lot of sense.  I was not aware that the
linker was intelligent enough to figure out where to get libraries
from on its own, other than blindly going through $LD_LIBRARY_PATH and
/etc/ld.so.conf in the order listed.

Thanks to everyone else who replied also.

-tor


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: