On Tue, Nov 23, 2010 at 9:49 PM, Mohan R <[email protected]> wrote: > 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?
Have you tried running "./configure --help", you should find options where you can specify different include and library paths. ELF format spec permits you to hard code library path in the binary itself. Should warn you that this practice is discouraged in favor of runtime linking using ld, LD_PRELOAD and LD_LIBRARY_PATH are easier to manage. - Raja _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
