[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile can't find dynamically loaded library

From: Michael Vanier
Subject: guile can't find dynamically loaded library
Date: Mon, 30 Sep 2002 18:08:12 -0700


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

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.

I suspect that the documentation is incorrect.  Can you clarify what's
needed to inform guile of where a shared library is?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]