Re: A question about RPATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> crle ?
> 
> crle -64 -c /var/ld/64/ld.config -l /lib/64:/usr/lib/64:/usr/local/lib

That would also be the wrong way to go here. One need not change the system 
config in order to run a binary. The binary should indicate the preferred path to 
search for libraries within it .. not outside of it. LD_LIBRARY_PATH defeats and wrecks that.

So really the only sane option here is -Wl,--rpath=/usr/local/lib 

Or similar. 

dc


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux