From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Emsley Newsgroups: gmane.lisp.guile.user Subject: load-extension woes Date: 05 Nov 2002 18:50:28 +0000 Sender: guile-user-admin@gnu.org Message-ID: <1036522233.1724.27.camel@maybelline> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036530198 32478 80.91.224.249 (5 Nov 2002 21:03:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2002 21:03:18 +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 189Aqg-0008Qb-00 for ; Tue, 05 Nov 2002 22:02:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 189AqY-0000i1-00; Tue, 05 Nov 2002 16:02:50 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 189Aj6-0007fY-00 for guile-user@gnu.org; Tue, 05 Nov 2002 15:55:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1898mD-0006BH-00 for guile-user@gnu.org; Tue, 05 Nov 2002 13:50:20 -0500 Original-Received: from mta05-svc.ntlworld.com ([62.253.162.45]) by monty-python.gnu.org with esmtp (Exim 4.10) id 1898mC-000695-00 for guile-user@gnu.org; Tue, 05 Nov 2002 13:50:12 -0500 Original-Received: from maybelline ([80.6.103.226]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021105185003.CPRM27595.mta05-svc.ntlworld.com@maybelline> for ; Tue, 5 Nov 2002 18:50:03 +0000 Original-To: guile-user@gnu.org X-Mailer: Ximian Evolution 1.0.5 (1.0.5-4) Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1333 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1333 Hi, I have a few questions, here is the first: I am trying to follow the reference manual, but I can't get load-extension to work: $ setenv LTDL_LIBRARY_PATH $HOME/guile/lib $ ls $LTDL_LIBRARY_PATH/libguile-bessel.so 8 /home/paule/guile/lib/libguile-bessel.so* $ guile guile> (load-extension "libguile-bessel" "init_bessel") :1:1: In procedure dynamic-link in expression (load-extension "libguile-bessel" "init_bessel"): :1:1: file: "libguile-bessel", message: "file not found" ABORT: (misc-error) Type "(backtrace)" to get more information or "(debug)" to enter the debugger. However, if I expand the library name: maybelline ~/Projects/mapview/src> guile $ guile guile> (load-extension "/home/paule/guile/lib/libguile-bessel.so" "init_bessel") That works... What am I doing wrong? Cheers, Paul. (using 1.6.0 built myself on RedHat 7.3) _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user