Neil Jerram <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Ludovic Courtès) writes: > >> Hi, >> >> Neil Jerram <[EMAIL PROTECTED]> writes: >> >>> -subdirs_with_ltlibs="srfi guile-readline" # maintain me >>> +subdirs_with_ltlibs="srfi guile-readline libguile" # maintain me >> >> Strangely, I had noticed that `(use-modules (ice-9 i18n))' would work >> with `pre-inst-guile', even before `libguile-i18n-v-0' is installed, >> perhaps because of some side-effect induced by the `libguile/guile' >> Libtool script. But apparently, this is not always the case, so your >> fix makes sense. > > Yes, I've observed that too, when running the "make distcheck" on my > own machine. My guess is that pre-inst-guile is picking up a copy of > libguile-i18n-v-0 from somewhere else (i.e. /usr/lib or > /usr/local/lib), but I haven't got to the bottom of this yet, and > that's why I haven't yet committed the above change to CVS. > > That said, I might commit the above change tonight provisionally, to > see if it helps the snapshot.
I noticed from strace (below) that, on my machine, ltdl tries to open libguile-i18n-v-0.so from libguile/.libs, once it has failed with the locations in LTDL_LIBRARY_PATH. I'm guessing that this is a piece of fallback "try to open .so in the same directory as the running executable" logic, and that this logic wasn't present in some older version of libtool. (Although there is nothing in libtool's NEWS or doc to support this.) For tonight, therefore, I've committed the pre-inst-guile.in change, and also some code in autogen.sh to display the versions of libtool et al. We'll see what that gives. Regards, Neil open("/home/neil/guile-cvs-head/guile/guile-core/guile-readline/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/neil/guile-cvs-head/guile/guile-core/srfi/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/i486-linuxlibc1/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/X11R6/lib/libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) open("libguile-i18n-v-0.la", O_RDONLY) = -1 ENOENT (No such file or directory) access("/home/neil/guile-cvs-head/guile/guile-core/guile-readline/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory) access("/home/neil/guile-cvs-head/guile/guile-core/srfi/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory) access("/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory) access("/usr/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory) access("/usr/i486-linuxlibc1/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory) access("/usr/X11R6/lib/libguile-i18n-v-0.so", R_OK) = -1 ENOENT (No such file or directory) futex(0x402c41b4, FUTEX_WAKE, 2147483647) = 0 open("/home/neil/guile-cvs-head/guile/guile-core/libguile/.libs/libguile-i18n-v-0.so", O_RDONLY) = 8 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel