|
From: | David De La Harpe Golden |
Subject: | bug#10313: configure fails to find include path on openbsd |
Date: | Mon, 02 Jan 2012 21:51:53 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 |
On 02/01/12 18:42, Glenn Morris wrote:
Are things in /usr/local found at run-time, or do they also have to set LD_LIBRARY_PATH,
The OpenBSD case: Once a /usr/local/lib exists, /etc/rc (i.e. startup) will just add it in to be searched [1]. Simple, but presumably works adequately for their needs, avoids having to tell new users a mouthful something like "add a /usr/local/lib to shlib_dirs in your /etc/rc.conf.local to use the shared libraries installed by packages/ports"
[1] http://www.openbsd.org/cgi-bin/cvsweb/src/etc/rc?rev=1.397;content-type=text%2Fx-cvsweb-markup
""" ... if [ -d /usr/local/lib ]; then shlib_dirs="/usr/local/lib $shlib_dirs" fi if [ -d /usr/X11R6/lib ]; then shlib_dirs="/usr/X11R6/lib $shlib_dirs" fi ldconfig $shlib_dirs ... """
[Prev in Thread] | Current Thread | [Next in Thread] |