From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYSYC-0008AP-Dt for qemu-devel@nongnu.org; Fri, 13 Oct 2006 15:18:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYSY7-000834-IM for qemu-devel@nongnu.org; Fri, 13 Oct 2006 15:18:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYSY7-00082B-Av for qemu-devel@nongnu.org; Fri, 13 Oct 2006 15:18:27 -0400 Received: from [68.230.240.36] (helo=eastrmmtao03.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYSgb-0001eX-TF for qemu-devel@nongnu.org; Fri, 13 Oct 2006 15:27:14 -0400 Message-ID: <12993045.1160767103427.JavaMail.root@eastrmwml08.mgt.cox.net> Date: Fri, 13 Oct 2006 15:18:23 -0400 From: Ben Taylor Subject: Re: [Qemu-devel] configure flag for compilation question.. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Reply-To: sol10x86@cox.net, 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). > > What is the way out for this sticky point? Manually add "-L/usr/local/lib -R/usr/local/lib" to the Makefile for the link phase so it will correctly add those paths to the library lookup. If I had a code base to look at this instance, I could tell you where. You could also add those flags to Makefile.target in the SOLARIS specific areas, which would probably make more sense. As Martin indicated, setting LD_LIBRARY_PATH may get you a running binary, but LD_LIBRARY_PATH is the wrong answer for Solaris. Ben