[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(dynamic-link) ignores PREFIX/lib and $LD_LIBRARY_PATH
From: |
Paul Jarc |
Subject: |
(dynamic-link) ignores PREFIX/lib and $LD_LIBRARY_PATH |
Date: |
Tue, 18 Jun 2002 12:02:21 -0400 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu) |
I have guile 1.4.1 installed in an unusual place, so PREFIX/lib isn't
in the usual search path for shared libraries. It seems guile should
always search PREFIX/lib, preferably before the systemwide directories
and after those listed in $LD_LIBRARY_PATH. (Actually, it should
search all the -rpath directories that the binary was linked with,
which should (and does) include PREFIX/lib.)
When I evaluate (use-modules (ice-9 readline)), guile search only /lib
when looking for libguilereadline.so (not even /usr/lib). If I set
$LD_LIBRARY_PATH to include PREFIX/lib, then guile looks there first
and finds it, but keeps looking anyway and still fails:
access("/package/host/localhost/guile-1.4.1-1/lib/libguilereadline.so", R_OK) = 0
access("/lib/libguilereadline.so", R_OK) = -1 ENOENT (No such file or directory)
open("/lib/libguilereadline.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
paul
- (dynamic-link) ignores PREFIX/lib and $LD_LIBRARY_PATH,
Paul Jarc <=