stolcke@icsi.Berkeley.EDU (Andreas Stolcke) (03/15/90)
After some experimenting with the installation of X11 libs under SunOS4.0 we came to the following conclusion: IF - you want the compiler to find X11 libs in a default place and - you want the runtime linker to find them (without ldconfig'ing) - you want to link suid programs with shared libs - you DON'T want to clutter up /usr/lib with those libs THEN - use /usr/local/lib to create a bunch of symbolic links to whereever you keep the libraries. /usr/local/lib is a "trusted" directory, although not mentioned in Sun's documentation. ---- Andreas Stolcke International Computer Science Institute stolcke@icsi.Berkeley.EDU 1957 Center St., Suite 600, Berkeley, CA 94704 (415) 642-4274 ext. 126
rowe@cme.nist.gov (Walter Rowe) (03/17/90)
>>>>> On 15 Mar 90, stolcke@icsi.Berkeley.EDU (Andreas Stolcke) said:
Andreas> After some experimenting with the installation of X11 libs
Andreas> under SunOS4.0 we came to the following conclusion:
Andreas> IF ... THEN use /usr/local/lib to create a bunch of symbolic
Andreas> links to whereever you keep the libraries.
I found this out also, and it works very nicely. We support a wide
variety of architectures out of one source tree, and have come up with
a relatively architecture-independent scheme for maintaining all the
libraries for the various architectures. These symlinks helped us in
implementing this, as well.
Andreas> /usr/local/lib is a "trusted" directory, although not
Andreas> mentioned in Sun's documentation.
Uhm, I think the X Release Notes states this. I know some docs
somewhere in the X11R4 distribution say so.
---
Walter P. Rowe, <rowe@cme.nist.gov>
System Administrator, Robot Systems Division
National Institute of Standards and Technology