From: Tru64 User <tru64user@yahoo.com>
Subject: SUMMARY: LD_LIBRARY_PATH
Date: Wed, 18 Jun 2003 10:41:53 -0700 (PDT) [thread overview]
Message-ID: <20030618174153.27214.qmail@web40908.mail.yahoo.com> (raw)
In-Reply-To: <20030618163927.13527.qmail@web40909.mail.yahoo.com>
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 <tru64user@yahoo.com> 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
prev parent reply other threads:[~2003-06-18 17:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-18 16:39 LD_LIBRARY_PATH Tru64 User
2003-06-18 17:41 ` Tru64 User [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox