How to set LD_PATH elegant?
ait at p2ee.org
Fri Mar 19 14:44:05 UTC 2010
On Fri, Mar 19, 2010 at 10:40 AM, O. Hartmann
<ohartman at zedat.fu-berlin.de> wrote:
> I'm a little bit new to setting library paths, so sorry for the noise.
> I install some packages and libraries apart the FreeBSD package/ports system
> and need
> to setup the search path for shared libraries the proper way.
> At this very moment I 'hardcode' this additional search path by setting
> in /etc/rc.conf,
> but since this is a 'system related' location I'm looking for a proper and
> clean method setting this search path
> via environment variable and/or some /usr/local/etc/rc.conf.add stuff or
If I understand your question correctly perhaps the LD_LIBRARY_PATH is
what you are looking for. It will set the search order for the
libraries, not the executables which is what PATH variable is for.
> I appreciate any hint.
> Oliver Hartmann
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions