SUMMARY: LD_LIBRARY_PATH

From: Tru64 User (tru64user@yahoo.com)
Date: Wed Jun 18 2003 - 13:41:53 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:23 EDT