As changing linker default paths was mentioned on Linux, I'll note you can
also do this on Solaris with crle:
http://blogs.oracle.com/rie/entry/changing_search_paths_with_crle
As the blog notes, be careful that you don't remove the existing search
paths.

Also changing that is rarely a good idea, and probably something you want
to avoid doing - on Linux or Solaris.

On Wed, Dec 7, 2011 at 02:32, uZu <u...@qlone.org> wrote:

> Le 06/12/2011 17:13, Patrick Baggett a écrit :
>
>>
>>
>> On Tue, Dec 6, 2011 at 4:56 AM, Simon McVittie
>> <smcv-ioquake3@pseudorandom.**co.uk <smcv-ioqua...@pseudorandom.co.uk>
>> <mailto:smcv-ioquake3@**pseudorandom.co.uk<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<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<http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org>
> By sending this message I agree to love ioquake3 and libsdl.
>
_______________________________________________
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.

Reply via email to