From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Michael Vanier Newsgroups: gmane.lisp.guile.bugs Subject: Re: guile can't find dynamically loaded library Date: Fri, 4 Oct 2002 23:05:55 -0700 Sender: bug-guile-admin@gnu.org Message-ID: <200210050605.g9565t115372@orchestra.cs.caltech.edu> References: <200210010108.g9118Cm11313@orchestra.cs.caltech.edu> <87it0jwevw.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033798110 31777 127.0.0.1 (5 Oct 2002 06:08:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2002 06:08:30 +0000 (UTC) Cc: bug-guile@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17xi72-0008GL-00 for ; Sat, 05 Oct 2002 08:08:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xi7H-0004aT-00; Sat, 05 Oct 2002 02:08:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17xi5w-0000zw-00 for bug-guile@gnu.org; Sat, 05 Oct 2002 02:07:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17xi51-0007gA-00 for bug-guile@gnu.org; Sat, 05 Oct 2002 02:06:37 -0400 Original-Received: from swordfish.cs.caltech.edu ([131.215.44.124]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17xi4b-0006xj-00 for bug-guile@gnu.org; Sat, 05 Oct 2002 02:05:57 -0400 Original-Received: from orchestra.cs.caltech.edu (orchestra.cs.caltech.edu [131.215.44.20]) by swordfish.cs.caltech.edu (Postfix) with ESMTP id DCB0CDF272; Fri, 4 Oct 2002 23:05:55 -0700 (PDT) Original-Received: (from mvanier@localhost) by orchestra.cs.caltech.edu (8.11.6/8.9.3) id g9565t115372; Fri, 4 Oct 2002 23:05:55 -0700 X-Authentication-Warning: orchestra.cs.caltech.edu: mvanier set sender to mvanier@cs.caltech.edu using -f Original-To: mvo@zagadka.ping.de In-reply-to: <87it0jwevw.fsf@zagadka.ping.de> (message from Marius Vollmer on 03 Oct 2002 20:34:11 +0200) Errors-To: bug-guile-admin@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.bugs:493 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:493 Well, it's even more hosed that you realize :-( When I do what you say, it reports that it can't find libguile-bessel.so in /usr/lib. When I copy libguile-bessel.so into /usr/lib, it reports that it can't find it in /usr/local/lib (the next path in my LD_LIBRARY_PATH). And so forth. When I manually set my LD_LIBRARY_PATH to just /usr/lib, it complains that it can't find libguile-bessel.so in /lib. It seems to be impossible to make it happy. Output looks like this: guile> (load-extension "libguile-bessel.so" "init_bessel") standard input:1:1: In procedure dynamic-link in expression (load-extension "libguile-bessel.so" "init_bessel"): standard input:1:1: file: "libguile-bessel.so", message: "/lib/libguile-bessel.so: cannot open shared object file: No such file or directory" ABORT: (misc-error) Type "(backtrace)" to get more information or "(debug)" to enter the debugger. Thanks for your help, Mike > From: Marius Vollmer > Date: 03 Oct 2002 20:34:11 +0200 > > Michael Vanier writes: > > > I have put the file into /usr/lib and it still couldn't find it! > > This is (another) bug in libltdl. It first tries the ".la" extenstion > and then should continue with the ".so" extension. However, it > incorrectly stops when no ".la" file could be found. > > A workaround is to use > > (load-extension "libguile-bessel.so" "init_bessel") > > for the time being. > > We will release a Guile 1.6.1 shortly that will always use a libltdl > with this bug fixed. > > Thanks for reporting this! > > -- > GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 > _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile