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: guile can't find dynamically loaded library Date: Mon, 30 Sep 2002 18:08:12 -0700 Sender: bug-guile-admin@gnu.org Message-ID: <200210010108.g9118Cm11313@orchestra.cs.caltech.edu> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1033434529 14797 127.0.0.1 (1 Oct 2002 01:08:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Oct 2002 01:08:49 +0000 (UTC) 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 17wBWp-0003pl-00 for ; Tue, 01 Oct 2002 03:08:47 +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 17wBX7-0003mZ-00; Mon, 30 Sep 2002 21:09:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17wBWN-0003Hq-00 for bug-guile@gnu.org; Mon, 30 Sep 2002 21:08:19 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17wBWL-0003Gk-00 for bug-guile@gnu.org; Mon, 30 Sep 2002 21:08:18 -0400 Original-Received: from swordfish.cs.caltech.edu ([131.215.44.124]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wBWK-0003Ca-00 for bug-guile@gnu.org; Mon, 30 Sep 2002 21:08:17 -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 5AB00DF263 for ; Mon, 30 Sep 2002 18:08:12 -0700 (PDT) Original-Received: (from mvanier@localhost) by orchestra.cs.caltech.edu (8.11.6/8.9.3) id g9118Cm11313; Mon, 30 Sep 2002 18:08:12 -0700 X-Authentication-Warning: orchestra.cs.caltech.edu: mvanier set sender to mvanier@cs.caltech.edu using -f Original-To: bug-guile@gnu.org 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:486 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:486 Hi, I've been walking through the guile info documentation, specifically the section on defining your own guile extensions. This is for guile-1.6 running on a Debian GNU/Linux system. I am unable to get guile to find the location of the shared library that I created (libguile-bessel.so). I have tried everything I can think of. I have put the file into /usr/lib and it still couldn't find it! I setenv'd LTDL_LIBRARY_PATH to the current directory; no dice (is LTDL a misprint?). I always get the following message: guile> (load-extension "libguile-bessel" "init_bessel") standard input:1:1: In procedure dynamic-link in expression (load-extension "libguile-bessel" "init_bessel"): standard input:1:1: file: "libguile-bessel", message: "file not found" ABORT: (misc-error) Type "(backtrace)" to get more information or "(debug)" to enter the debugger. guile> I suspect that the documentation is incorrect. Can you clarify what's needed to inform guile of where a shared library is? Mike _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile