This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Search path for ld.so
- From: "C Jaiprakash, Noida" <cjaiprakash at hcltech dot com>
- To: libc-alpha at sources dot redhat dot com
- Cc: schwab at suse dot de
- Date: Wed, 20 Oct 2004 12:36:34 +0530
- Subject: 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~