On Fri, Mar 19, 2010 at 10:40 AM, O. Hartmann <ohart...@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-unsubscr...@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"