unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* (dynamic-link) ignores PREFIX/lib and $LD_LIBRARY_PATH
@ 2002-06-18 16:02 Paul Jarc
  2002-06-18 17:57 ` Paul Jarc
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paul Jarc @ 2002-06-18 16:02 UTC (permalink / raw)


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

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


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

end of thread, other threads:[~2002-06-18 21:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 16:02 (dynamic-link) ignores PREFIX/lib and $LD_LIBRARY_PATH Paul Jarc
2002-06-18 17:57 ` Paul Jarc
2002-06-18 18:13   ` Thien-Thi Nguyen
2002-06-18 18:01 ` Thien-Thi Nguyen
2002-06-18 18:13   ` Paul Jarc
2002-06-18 18:37     ` Thien-Thi Nguyen
2002-06-18 21:26 ` Marius Vollmer

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