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

* Re: load-extension woes
  2002-11-05 18:50 load-extension woes Paul Emsley
@ 2002-11-05 21:13 ` Marius Vollmer
  2002-11-06  3:04   ` Paul Emsley
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Vollmer @ 2002-11-05 21:13 UTC (permalink / raw)
  Cc: guile-user

Paul Emsley <emsley@ysbl.york.ac.uk> writes:

> What am I doing wrong?

This is probably be a bug in libltdl.  Try configuring guile with
"--enable-ltdl-install" and reinstalling it.

Guile 1.6.1 will fix this.  You can get a preview from CVS or here:

  ftp://ftp.dt.e-technik.uni-dortmund.de/pub/guile/snapshots

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
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

* Re: load-extension woes
  2002-11-05 21:13 ` Marius Vollmer
@ 2002-11-06  3:04   ` Paul Emsley
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Emsley @ 2002-11-06  3:04 UTC (permalink / raw)


On Tue, 2002-11-05 at 21:13, Marius Vollmer wrote:
> Paul Emsley <emsley@ysbl.york.ac.uk> writes:
> 
> > What am I doing wrong?
> 
> This is probably be a bug in libltdl.  Try configuring guile with
> "--enable-ltdl-install" and reinstalling it.
> 
> Guile 1.6.1 will fix this.  You can get a preview from CVS or here:
> 
>   ftp://ftp.dt.e-technik.uni-dortmund.de/pub/guile/snapshots
> 


For the record, I could not get 1.6.0 to work having configured it with
"--enable-ltdl-install".  Howver, the snapshot did indeed work.

Thanks,

Paul.




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