This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Search path for ld.so


Hi,
  I have build glibc for a cross platform. My prefix path is not default.
Problem i am facing is when i transfer the libraries in /lib on the target
machine. ld.so never searches into  /lib it always try to serch in the
PREFIX path i used for building glibc. If i set LD_LIBRARY_PATH it works
correctly but i want that ldconfig, ld.so should use the default paths for
searching i.e /etc , /lib. Am i missing anything while building the gilbc? 
  My toolchain linker scripts though have SEARCH_DIR as /lib and the PREFIX
path used for building glibc. Any ideas how can i make ld.so ldconfig to
search in default paths? 

Thanks and best regards,
C Jaiprakash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Contributing to the World by creating indispensable value !

System Software CoE @ HCLT-Noida
http://www.hcltechnologies.com
Ph. : +91-120-2510701/702 Ext : 3170
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]