From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21934 invoked by alias); 17 Mar 2005 18:43:52 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 21766 invoked from network); 17 Mar 2005 18:43:48 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.207) by sourceware.org with SMTP; 17 Mar 2005 18:43:48 -0000 Received: by wproxy.gmail.com with SMTP id 69so256995wri for ; Thu, 17 Mar 2005 10:43:47 -0800 (PST) Received: by 10.54.29.61 with SMTP id c61mr2135333wrc; Thu, 17 Mar 2005 10:43:47 -0800 (PST) Received: by 10.54.25.11 with HTTP; Thu, 17 Mar 2005 10:43:47 -0800 (PST) Message-ID: <50feae25050317104335219b7d@mail.gmail.com> Date: Thu, 17 Mar 2005 21:03:00 -0000 From: NK Reply-To: NK To: binutils@sources.redhat.com Subject: Question! In-Reply-To: <4239C7FC.8030401@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <42383FF3.4080604@codesourcery.com> <1110982992.19581.35.camel@pc960.cambridge.arm.com> <20050316144218.GA27174@nevyn.them.org> <42384770.8030104@codesourcery.com> <1110990497.19581.51.camel@pc960.cambridge.arm.com> <4239C7FC.8030401@codesourcery.com> X-SW-Source: 2005-03/txt/msg00488.txt.bz2 Hello all, I have question regarding LD, I have modified the SEARCH_DIR path in the ld using --with-lib-path during configuration. I want ld to look into new path for libraries I have specified. Interestingly it is going into /usr/bin and accessing libc.so from there.. and because I have modified the SEARCH_DIR so it is not going into /lib and unable to find ld-linux.so.2, but going in /usr/lib; this is something I don't want. So my question is even if I have modified the SEARCH_DIR in ld why it is going into /usr/lib (path is not there)? Is there a way to prevent that... or it is hard coded somewhere in the code. I have all libc .so in path I have specified also, but not picking from there... Thanks a lot in advance. -nk