Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2010 10:44:03 -0400
From:      Alejandro Imass <ait@p2ee.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to set LD_PATH elegant?
Message-ID:  <a14066a01003190744x4f86e867k8a4e8c33cc735c01@mail.gmail.com>
In-Reply-To: <4BA38CD4.3020300@zedat.fu-berlin.de>
References:  <4BA38CD4.3020300@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 19, 2010 at 10:40 AM, O. Hartmann
<ohartman@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
>
> ldconfig_paths=
>
> 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
> similar.
>

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.
>
> Regards,
>
> Oliver Hartmann
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a14066a01003190744x4f86e867k8a4e8c33cc735c01>