From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYSCx-0001Ap-Tg for qemu-devel@nongnu.org; Fri, 13 Oct 2006 14:56:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYSCt-00012g-6s for qemu-devel@nongnu.org; Fri, 13 Oct 2006 14:56:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYSCs-00012K-4S for qemu-devel@nongnu.org; Fri, 13 Oct 2006 14:56:30 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GYSLM-0003qE-W3 for qemu-devel@nongnu.org; Fri, 13 Oct 2006 15:05:17 -0400 Message-ID: <452FE06B.8070200@gmx.com> Date: Fri, 13 Oct 2006 20:52:27 +0200 From: Martin Bochnig MIME-Version: 1.0 Subject: Re: [Qemu-devel] configure flag for compilation question.. References: In-Reply-To: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Ishwar Rattan wrote: > > Trying to compile qemu on amd64 based Solaris. > > I do not have write permission to /usr/local subtree > > ./configure --libdir=other-path --prefix=not-ustlocal > is fine > but make always generates binaries that want to find > /usr/local/lib/libSDL-1.2.so.0 etc. (checked with ldd). Where is the problem 64bit versus 32bit ? (32 bit version of libSDL-1.2.so.0 found while amd64 64bit version needed?) (should go under /usr/local/lib/amd64/libSDL-1.2.so.0) > > What is the way out for this sticky point? > > -ishwar > > Read ld.so.1(1) i.e. # man ld.so.1 Then: One option is to set $LD_LIBRARY_PATH (or potentially $LD_LIBRARY_PATH_64 [not required]). bash: # export LD_LIBRARY_PATH=/export/home/me/foo/mypersonallibs:$LD_LIBRARY_PATH Did you set ./configure --prefix=SomeWritableLocation ?