From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYW43-00063j-0b for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:03:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYW3y-0005sm-U0 for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:03:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYW3y-0005sB-Pm for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:03:34 -0400 Received: from [68.230.240.33] (helo=eastrmmtao06.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYWCW-0000OW-6r for qemu-devel@nongnu.org; Fri, 13 Oct 2006 19:12:24 -0400 Message-ID: <12457496.1160780613485.JavaMail.root@eastrmwml08.mgt.cox.net> Date: Fri, 13 Oct 2006 19:03:33 -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: Martin Bochnig , qemu-devel@nongnu.org ---- Martin Bochnig wrote: > Ben Taylor wrote: > > >As Martin indicated, setting LD_LIBRARY_PATH may get you a running > >binary, but LD_LIBRARY_PATH is the wrong answer for Solaris. > > > > > > > > My answer had been a bit longer: > > "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])." I'm not saying it doesn't work. But properly compiled programs for Solaris include the run time paths to the libraries so an LD_LIBRARY_PATH environment variable is not required. LD_LIBRARY_PATH is interesting to test out new versions of support libraries without actually having to recompile, so it has it's uses. but too often, folks use LD_LIBRARY_PATH as a panacea on Solaris to fix poorly compiled programs. Ben