Hi,

here is my problem, downloaded latest glib-2.0 (2.26) tarball and did './configure --prefix="/home/localuser/localbuilds/"; make; make install'.

At runtime, I need to use the latest libgio-2.0.so (because of GDBusProxy) which is inside my '/home/localuser/loacalbuilds/lib'. Is there any way to link to this latest library without using LD_LIBRARY_PATH?

One proper way is to create /etc/ld.so.conf.d/glib-2.26.conf file and add /home/localuser/localbuilds/lib to it, then executing 'sudo /sbin/ldconfig -v' will rebuild system wide /etc/ld.so.cache, but I don't have root permission to follow this method.

Also, there is no hint of a local ld.so.cache in ld-linux.so(8), ldconfig(8),ld(8) and ld.so.conf(5) man pages.

Is there any way to solve this? basically I'm not a root user and I don't want to mess my environment with LD_LIBRARY_PATH.

Cheers,
Mohan R

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to