unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Michael Vanier <mvanier@cs.caltech.edu>
Cc: bug-guile@gnu.org
Subject: Re: guile can't find dynamically loaded library
Date: Fri, 4 Oct 2002 23:05:55 -0700	[thread overview]
Message-ID: <200210050605.g9565t115372@orchestra.cs.caltech.edu> (raw)
In-Reply-To: <87it0jwevw.fsf@zagadka.ping.de> (message from Marius Vollmer on 03 Oct 2002 20:34:11 +0200)


Well, it's even more hosed that you realize :-(  When I do what you say, it
reports that it can't find libguile-bessel.so in /usr/lib.  When I copy
libguile-bessel.so into /usr/lib, it reports that it can't find it in
/usr/local/lib (the next path in my LD_LIBRARY_PATH).  And so forth.  When
I manually set my LD_LIBRARY_PATH to just /usr/lib, it complains that it
can't find libguile-bessel.so in /lib. It seems to be impossible to make it
happy.  Output looks like this:

guile> (load-extension "libguile-bessel.so" "init_bessel")
standard input:1:1: In procedure dynamic-link in expression (load-extension "libguile-bessel.so" "init_bessel"):
standard input:1:1: file: "libguile-bessel.so", message: "/lib/libguile-bessel.so: cannot open shared object file: No such file or directory"
ABORT: (misc-error)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.


Thanks for your help,

Mike

> From: Marius Vollmer <mvo@zagadka.ping.de>
> Date: 03 Oct 2002 20:34:11 +0200
> 
> Michael Vanier <mvanier@cs.caltech.edu> writes:
> 
> > I have put the file into /usr/lib and it still couldn't find it!
> 
> This is (another) bug in libltdl.  It first tries the ".la" extenstion
> and then should continue with the ".so" extension.  However, it
> incorrectly stops when no ".la" file could be found.
> 
> A workaround is to use
> 
>   (load-extension "libguile-bessel.so" "init_bessel")
> 
> for the time being.
> 
> We will release a Guile 1.6.1 shortly that will always use a libltdl
> with this bug fixed.
> 
> Thanks for reporting this!
> 
> -- 
> GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405
> 


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


  reply	other threads:[~2002-10-05  6:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-01  1:08 guile can't find dynamically loaded library Michael Vanier
2002-10-03 18:34 ` Marius Vollmer
2002-10-05  6:05   ` Michael Vanier [this message]
2002-10-05 18:35     ` Paul Jarc
2002-10-08 21:30     ` Marius Vollmer
2002-10-08 21:42       ` Michael Vanier
2002-10-08 22:40         ` Marius Vollmer

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=200210050605.g9565t115372@orchestra.cs.caltech.edu \
    --to=mvanier@cs.caltech.edu \
    --cc=bug-guile@gnu.org \
    /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).