ld.so.conf question
I have the following ld.so.conf file: /usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/local/lib /usr/lib/libc5-compat /lib/libc5-compat /usr/X11R6/lib /usr/X11R6/lib /usr/X11R6/lib Question: Shouldn't /usr/X11R6/lib be before the libc5-compat directory and shouldn't there only be one of them? Brian ( [EMAIL PROTECTED] ) --- Touch passion when it comes your way. It's rare enough as it is; don't walk away when it calls you by name. -- Marcus (Babylon 5) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ld.so.conf question
On Tue, Apr 07, 1998 at 01:39:59PM -0400, Brian White wrote: I have the following ld.so.conf file: /usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/local/lib /usr/lib/libc5-compat /lib/libc5-compat /usr/X11R6/lib /usr/X11R6/lib /usr/X11R6/lib Question: Shouldn't /usr/X11R6/lib be before the libc5-compat directory Not necessarily. As long as you don't have any duplicate libraries that aren't tagged properly, it doesn't matter what order they are in. and shouldn't there only be one of them? There should only be one, but the duplicates shouldn't cause any problems. David -- David EngelODS Networks [EMAIL PROTECTED] 1001 E. Arapaho Road (972) 234-6400 Richardson, TX 75081 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ld.so.conf question
/usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/local/lib /usr/lib/libc5-compat /lib/libc5-compat /usr/X11R6/lib /usr/X11R6/lib /usr/X11R6/lib Question: Shouldn't /usr/X11R6/lib be before the libc5-compat directory Not necessarily. As long as you don't have any duplicate libraries that aren't tagged properly, it doesn't matter what order they are in. The problem I'm encountering is that linking -lXmu seems to cause the libc5-compat version of libXtk to get included and then I get warnings about libc5/libc6 conflicts. I was wondering if this could be the cause. Brian ( [EMAIL PROTECTED] ) --- the difference between theory and practice is less in theory than in practice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ld.so.conf question
On Tue, Apr 07, 1998 at 03:10:11PM -0400, Brian White wrote: /usr/X11R6/lib/Xaw95 /usr/X11R6/lib/Xaw3d /usr/local/lib /usr/lib/libc5-compat /lib/libc5-compat /usr/X11R6/lib /usr/X11R6/lib /usr/X11R6/lib Question: Shouldn't /usr/X11R6/lib be before the libc5-compat directory Not necessarily. As long as you don't have any duplicate libraries that aren't tagged properly, it doesn't matter what order they are in. The problem I'm encountering is that linking -lXmu seems to cause the libc5-compat version of libXtk to get included and then I get warnings about libc5/libc6 conflicts. I was wondering if this could be the cause. Could be. What does ldd report for your libc5-compat version of libXmu? David -- David EngelODS Networks [EMAIL PROTECTED] 1001 E. Arapaho Road (972) 234-6400 Richardson, TX 75081 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ld.so.conf question
Brian White [EMAIL PROTECTED] on Tue, Apr 07, 1998 at 01:39:59PM -0400: Question: Shouldn't /usr/X11R6/lib be before the libc5-compat directory and shouldn't there only be one of them? I'm not certain, but I don't think that the end result (ld.so.cache?) is in any way affected by parse order. The dlinker (1.9.7 anyways) has some mechanism by which it `knows' if the app needs a libc5-linked binary or libc6. BTW, what are the ENOENT(ld.so.preload)s that I get so often? Can I use this file to improve efficiency by creating it or something? 14 March '98 manpage says: File containing a whitespace separated list of ELF shared libraries to be loaded before the program. libraries and an ordered list of candidate libraries. Does this mean I can pre-allocate which apps need what, reducing the startup overhead? -- Scott -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]