From: Paul Emsley <emsley@ysbl.york.ac.uk>
Subject: load-extension woes
Date: 05 Nov 2002 18:50:28 +0000 [thread overview]
Message-ID: <1036522233.1724.27.camel@maybelline> (raw)
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")
<unnamed port>:1:1: In procedure dynamic-link in expression
(load-extension "libguile-bessel" "init_bessel"):
<unnamed port>: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
next reply other threads:[~2002-11-05 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-05 18:50 Paul Emsley [this message]
2002-11-05 21:13 ` load-extension woes Marius Vollmer
2002-11-06 3:04 ` Paul Emsley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1036522233.1724.27.camel@maybelline \
--to=emsley@ysbl.york.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).