Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYWQw-0008BE-TW for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:27:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYWQv-0008AT-12 for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:27:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYWQu-0008AQ-S6 for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:27:16 -0400 Received: from [68.230.240.34] (helo=eastrmmtao05.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYWZS-00088V-Qz for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:36:07 -0400 Message-ID: <21180689.1160782036071.JavaMail.root@eastrmwml08.mgt.cox.net> Date: Fri, 13 Oct 2006 19:27:16 -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: > > > On Fri, 13 Oct 2006, Martin Bochnig wrote: > > > Ishwar Rattan wrote: > > > >> > > 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) > Well, the problem is I do not root privileges so can't place libSL in > /usr/local/lib or /usr/local/lib/amd64. > > I would like to keep it in $HOME/lib and want qemu to see the lib > archive. > > I will try LD_LIBRARY_PATH option. It should work. the main thing is to not to agressive with LD_LIBRARY_PATH in this case. Since it sounds like it already may be linking against /usr/local/lib where the current libSDL is, you should just be able to add the new lib dir to the LD_LIBRARY_PATH env variable, and then run ldd on qemu to make sure it's finding the right libraries. When you have the right LD_LIBRARY_PATH, then it should be working for you. > Is to possible to have a staticly > linked version of libSDL in the qemu binaries? There is an option for statically linked libSDL in the qemu binaries, and I tried to make sure I kept that intact for solaris in the configure script. Try it and see what happens. Ben