Change ld.so.cache location

Alan Modra amodra@gmail.com
Fri Dec 5 03:39:00 GMT 2014


On Thu, Dec 04, 2014 at 09:24:03PM -0500, Jake wrote:
> I have limited permissions on my computer, which means I cannot edit
> /etc or /etc/ld.so.cache. I have binutils, glibc and gcc installed to
> /usr/local. Is there anyway to change where ld looks for ld.so.cache
> so I can use ldconfig to create my own in /usr/local?

ld will look in $prefix/etc/ld.so.conf first.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list