unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* load-extension woes
@ 2002-11-05 18:50 Paul Emsley
  2002-11-05 21:13 ` Marius Vollmer
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Emsley @ 2002-11-05 18:50 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-06  3:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-05 18:50 load-extension woes Paul Emsley
2002-11-05 21:13 ` Marius Vollmer
2002-11-06  3:04   ` Paul Emsley

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).