Le 06/12/2011 17:13, Patrick Baggett a écrit :
On Tue, Dec 6, 2011 at 4:56 AM, Simon McVittie <smcv-ioqua...@pseudorandom.co.uk <mailto:smcv-ioqua...@pseudorandom.co.uk>> wrote: On Tue, 06 Dec 2011 at 10:32:01 +0100, vinc...@cojot.name <mailto:vinc...@cojot.name> 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
already answered but yep no need to move the libs, either use LD_LIBRARY_PATH or recompile using -R, a quick note can be found at http://blogs.oracle.com/ali/entry/avoiding_ld_library_path_the
_______________________________________________ ioquake3 mailing list ioquake3@lists.ioquake.org http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.