From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Bunting Subject: Re: Re: Introducing gnugol - an org-mode-output web search client Date: Tue, 04 Jan 2011 21:21:13 +1100 Message-ID: <87sjx9km06.fsf@bunting.net.au> References: <4D210A00.9070901@teklibre.org> <87oc7yvaws.fsf@bunting.net.au> <877helvv81.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=40448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaEFp-0000QJ-Q8 for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 16:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaEFo-0004ST-GD for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 16:17:17 -0500 Received: from cassowary.ursys.com.au ([203.7.149.14]:45160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaEFn-0004Ra-TJ for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 16:17:16 -0500 In-Reply-To: <877helvv81.fsf@Rainer.invalid> 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: Achim Gratz , emacs-orgmode@gnu.org Hi Achim, I had made the silly mistake of not remembering to run ldconfig. Once this was done the janson libraries were found and gnugol started working for me. Apollogies I didn't get around to posting the fix/thing to remember earlier. Thank you very much though for the information, it has taught me several things I didn't know about tracing things like this. Cheers Bart On Tue, 04 Jan 2011 11:06:38 +0100, Achim Gratz wrote: > 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 > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Bart Bunting URSYS Pty. Ltd 13 Burwood Rd. Burwood NSW 2134 Australia Ph. +61 2 8745 2811 Fax +61 2 8745 2828