On Tue, Dec 6, 2011 at 4:56 AM, Simon McVittie < [email protected]> wrote:
> On Tue, 06 Dec 2011 at 10:32:01 +0100, [email protected] wrote: > > I just checked my binaries and /usr/local/lib doesn't seem hard-coded: > > Paths in the dynamic linker's default search path don't need to be > hard-coded > into binaries; paths not in the default search path do. On GNU (glibc) > systems, the default search path is partly hard-coded, partly in > /etc/ld.so.conf and partly in the files in /etc/ld.so.conf.d/. > > The way to get a path hard-coded into the binary on Linux would be to pass > "-rpath /opt/lib" to ld - Solaris probably has something equivalent? > > for Sun C, I think it is -R path or -Z path. > (Or use GNU libtool, which knows how to do shared libraries on various > platforms, each weirder than the last... but restricts you to doing things > in a slightly strange way to accomodate as many of those weird platforms > as possible.) > > s > _______________________________________________ > ioquake3 mailing list > [email protected] > http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org > By sending this message I agree to love ioquake3 and libsdl. >
_______________________________________________ ioquake3 mailing list [email protected] http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.
