From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Introducing gnugol - an org-mode-output web search client Date: Tue, 04 Jan 2011 11:06:38 +0100 Message-ID: <877helvv81.fsf@Rainer.invalid> References: <4D210A00.9070901@teklibre.org> <87oc7yvaws.fsf@bunting.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49306 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pa3nH-0000jz-I5 for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 05:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pa3n2-0002mr-84 for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 05:06:55 -0500 Received: from lo.gmane.org ([80.91.229.12]:58625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pa3n1-0002lh-L4 for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 05:06:52 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pa3mz-0007m0-On for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 11:06:49 +0100 Received: from p57aab351.dip.t-dialin.net ([87.170.179.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jan 2011 11:06:49 +0100 Received: from Stromeko by p57aab351.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jan 2011 11:06:49 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bart Bunting writes: > Running into a few issues at the moment: I did download and build the > jansson library which is installed in /usr/local > > However when I run gnugol I'm seeing the following error: > > Errors: google(1): ../engines/google.so: cannot open shared object file: No such file or directory > google: failed to acquire shared lib > > Warnings:google(1): Not in default location, error: libjansson.so.0: cannot open shared object file: No such file or directory You will either need to set up the DT_RUNPATH section in the executable to point to where the library is installed or set up the LD_LIBRARY_PATH environment variable to include the correct location. The first option requires to edit the linker invocation in the makefile, while the latter is best done via a wrapper script that then calls the executable. > I have the *.so files from gnugol in the default place that the makefile > puts them, /var/lib/gnugol. I also tried simlinking them into > /usr/local/lib but this doesn't appear to make any difference. > > The error also suggests that the janson library isn't being found. > > Although the ldd output doesn't appear to list it? Try 'ldd -v', if that also doesn't show anything, then most likely the program itself dynamically loads new libraries at runtime (probably after a fork). Setting LD_TRACE_LOADED_OBJECTS (preferrably in a wrapper script) to something non-empty should then give some ldd-like output. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables