From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b8f1c924f0ca9bc2 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-11-06 03:58:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail From: David Butenhof Subject: Re: How do you set the library path for shared libraries. Newsgroups: comp.unix.tru64 References: <3be73719.437906053@news.pacificnet.net> User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <6gQF7.1302$RL6.33602@news.cpqcorp.net> Date: Tue, 06 Nov 2001 06:57:18 -0500 NNTP-Posting-Host: 16.31.48.112 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1005047938 16.31.48.112 (Tue, 06 Nov 2001 03:58:58 PST) NNTP-Posting-Date: Tue, 06 Nov 2001 03:58:58 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:5700 David Rice wrote: > How do you set the path for shared libraries. In linux you can just > edit /etc/ld.so.conf. Is there a similar file for TRU64? There's no way to set a default search path for the entire system. In each process, you can set the environment variable LD_LIBRARY_PATH to a search path in which the loader will look for shared libraries. (Setuid binaries, though, ignore this, for security.) /------------------[ David.Butenhof@compaq.com ]------------------\ | Compaq Computer Corporation POSIX Thread Architect | | My book: http://www.awl.com/cseng/titles/0-201-63392-2/ | \-----[ http://home.earthlink.net/~anneart/family/dave.html ]-----/