tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* LD_LIBRARY_PATH
@ 2003-06-18 16:39 Tru64 User
  2003-06-18 17:41 ` SUMMARY: LD_LIBRARY_PATH Tru64 User
  0 siblings, 1 reply; 2+ messages in thread
From: Tru64 User @ 2003-06-18 16:39 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY: LD_LIBRARY_PATH
  2003-06-18 16:39 LD_LIBRARY_PATH Tru64 User
@ 2003-06-18 17:41 ` Tru64 User
  0 siblings, 0 replies; 2+ messages in thread
From: Tru64 User @ 2003-06-18 17:41 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-18 17:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 16:39 LD_LIBRARY_PATH Tru64 User
2003-06-18 17:41 ` SUMMARY: LD_LIBRARY_PATH Tru64 User

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox