From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tru64 User Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: LD_LIBRARY_PATH Date: Wed, 18 Jun 2003 10:41:53 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030618174153.27214.qmail@web40908.mail.yahoo.com> References: <20030618163927.13527.qmail@web40909.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1055958311 8106 80.91.224.249 (18 Jun 2003 17:45:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2003 17:45:11 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jun 18 19:45:09 2003 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 19Sgwh-0001pL-00 for ; Wed, 18 Jun 2003 19:42:07 +0200 Original-Received: (qmail 10858 invoked by uid 5); 18 Jun 2003 17:41:59 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 10849 invoked by uid 49493); 18 Jun 2003 17:41:59 -0000 Original-Received: from tru64user@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.5/5.0):. Processed in 0.40604 secs); 18 Jun 2003 17:41:59 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 18 Jun 2003 17:41:59 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HGO00135UHX8V@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 18 Jun 2003 13:41:58 -0400 (EDT) Original-Received: from web40908.mail.yahoo.com (web40908.mail.yahoo.com [66.218.78.205]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HGO00KJTUHURZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 18 Jun 2003 13:41:55 -0400 (EDT) Original-Received: from [128.183.106.140] by web40908.mail.yahoo.com via HTTP; Wed, 18 Jun 2003 10:41:53 -0700 (PDT) In-reply-to: <20030618163927.13527.qmail@web40909.mail.yahoo.com> Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:4592 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4592 Thanks to Dr. T. Blinn and Lucien HERCAUD for their quick responses. Both suggest it shouldn't be done ( iwas not planning to change order)..but instead wanted to add additional search paths system wide. I was looking for a file to append an entry to....but both suggest doing it at shell level, exporting. Responses:: If you mean how can you change the DEFAULT, the answer is pretty much what you've identified. That's how the loader on Tru64 UNIX is implemented. I strongly recommend you read (carefully) the reference page for the loader; changing the library search path (especially on a system-wide basis) can be messy, and you need to make sure you know just what you are doing. Dr. Thomas P. Blinn ********** "one" (anyone I mean) can simply change LD_LIBRARY_PATH by redefining and exporting it at the shell level. But I suspect your question is more likely "how a system admin. is supposed to amend permanent changes to LD_LIBRARY_PATH" right ? I would rather not do that ... as a system admin. I would rather "wrap" around those binarties that really need a different LD_LIBRARY_PATH with scripts that redefine a proper LD_LIBRARY_PATH and the just exec the required binaries. Takes a bit more effort and some extra cycles but its much cleaner. Regards ____________________________________ ORIGINAL QUESTION:: --- Tru64 User wrote: > Hi All... > > I saw some resemblences to my question but not a > definite answer in the archives. > > How can one change the LD_LIBRARY_PATH? (order, add, > etc) > apart from appending into /etc/profile [export > LD_LIBRARY_PATH=/usr/localapp/lib ], is there a > different way, like in /etc/ld.so.conf file on > linux? > > _Thanks > > Richard > > > ===== > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com ===== __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com