guile-user
[Top][All Lists]
Advanced

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

dl'ing libguilereadline fails for guile 1.6


From: William Webber
Subject: dl'ing libguilereadline fails for guile 1.6
Date: Tue, 1 Oct 2002 16:16:34 +1000
User-agent: Mutt/1.2.5.1i

Hi!

Compiling guile 1.6 like so:

  $ configure --prefix=/usr/local/guile
  $ make
  $ su
  # make install

and running it like so:

  $ LD_LIBRARY_PATH=/usr/local/guile/lib /usr/local/guile/bin/guile

  guile> (use-modules (ice-9 readline))

gives the error:

  ERROR: In procedure dynamic-link:
  ERROR: file: "libguilereadline-v-12", message: "file not found"

Running guile under strace reveals the following surprising system calls just
before the error:

  access("/usr/local/guile/lib/libguilereadline-v-12.so", R_OK) = 0
  access("/lib/libguilereadline-v-12.so", R_OK) = -1 ENOENT (No such file or 
directory)
  open("/lib/libguilereadline-v-12.so", O_RDONLY) = -1 ENOENT (No such file or 
directory)

that is, it finds it can open /usr/local/guile/lib/libguilereadline-v-12.so,
but ignores it.

I'm doing this on RedHat 7.3, with libltdl.so.3.1.0 (the standard one for
redhat 7.3) installed.

Setting LTDL_LIBRARY_PATH also doesn't work.

Any ideas?

TIA,

William




reply via email to

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