[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to load modules
From: |
Greg Troxel |
Subject: |
Re: Unable to load modules |
Date: |
29 Oct 2004 13:11:01 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
# Probably will always be necessary to resolve libguile-gnome-gobject
# link.
if test @libdir@ != /usr/lib -a @libdir@ != /usr/local/lib; then
if test "x$LD_LIBRARY_PATH" = "x"; then
address@hidden@
else
address@hidden@:$LD_LIBRARY_PATH
fi
fi
I think this is broken. The code knows where the libraries are, and
we should just have
(define (guile-gnome-dynamic-link f)
(dynamic-link (string-append
*guile-gnome-libdir* "/"
f)))
With some foo.scm.in->foo.scm that does
(define *guile-gnome-libdir* @LIBDIR@)
It should perhaps be a bit smarter, and not string-append if there's a
/, etc., but it totally avoids all the bad things that come along with
LD_LIBRARY_PATH.
--
Greg Troxel <address@hidden>