From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: modify the shared library path - how? Date: Tue, 18 Feb 2003 15:40:09 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3E5253D9.26650.13EFF6C2@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1045582587 28343 80.91.224.249 (18 Feb 2003 15:36:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2003 15:36:27 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18l9nD-0007MY-00 for ; Tue, 18 Feb 2003 16:36:23 +0100 Original-Received: (qmail 14500 invoked by uid 5); 18 Feb 2003 15:38:40 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14491 invoked by uid 49493); 18 Feb 2003 15:38:40 -0000 Original-Received: from dermot@sciencephoto.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.6/5.0):. Processed in 0.360447 secs); 18 Feb 2003 15:38:40 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 18 Feb 2003 15:38:40 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAI00CGMGS7VE@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 18 Feb 2003 10:38:39 -0500 (EST) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HAI00G5SGS55S@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 18 Feb 2003 10:38:30 -0500 (EST) Original-Received: from dione.sciencephoto.co.uk ([194.200.237.140] helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 18l9ps-0000B6-00 for tru64-unix-managers@ornl.gov; Tue, 18 Feb 2003 15:39:08 +0000 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.01) Content-description: Mail message body Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:3362 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3362 Hi Mangers, Tru64 5.01 & 4.0D I keep running into trouble when I am installing new software or trying to update it. The cause of most of the frustration is the search path for the shared libraires and include file. I, like most others Tru64ers, have /usr/shlib /lib /usr/lib /usr/ccs/lib set. Trouble is most of the new software that gets installed installs to /usr/local/lib and /usr/local/include. Sometimes it is ok to create symlinks from /usr/shlib to files in /usr/local/lib..etc. But I would really like to have something more permanent. I have tried setting LD_LIBRARY_PATH as an environment variable; root (/src/) % set LD_LIBRARY_PATH /usr/shlib,/usr/local/lib argv () cwd /src/XML-Simple-1.08 fignore .o filec gid 1 history 50 home / ignoreeof noclobber...snip But still I stil get errors that file(s) I know reside in /usr/local/lib are not available. Indeed Perl -V shows: Linker and Libraries: ld='ld', ldflags ='' libpth=/usr/shlib /lib /usr/lib /usr/ccs/lib Is there some more parmanent way to get /usr/local/..etc into my LD_LIBRARY_PATH? Thanx. Dp. ~~ Dermot Paikkos * dermot@sciencephoto.com Network Administrator @ Science Photo Library Phone: 0207 432 1100 * Fax: 0207 286 8668