guile-devel
[Top][All Lists]
Advanced

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

Re: guile-1.6.5 is even worse -- on Linux, no less


From: Rob Browning
Subject: Re: guile-1.6.5 is even worse -- on Linux, no less
Date: Tue, 14 Dec 2004 00:17:03 -0600
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> Looks like libtool's lt-guile uninstalled binary gets a NEEDED record
> for libguile-ltdl.so.1 but no rpath to it.  Not sure if that NEEDED is
> meant to be there, it's only a sub-dependency of libguile.so.
>
> Adding ../libguile-ltdl/libguile-ltdl.la explicitly into the guile
> program link seems to help.

I hit this same problem today while testing a build on a Debian amd64
machine.  I still don't know why the problem shows up on some machines
and not others, but as you suggest, modifying libguile/Makefile.am to
add a direct dependency on libguile-ltdl seems to fix the problem,
i.e.:

  guile_LDADD = libguile.la @abs_top_builddir@/libguile-ltdl/libguile-ltdl.la
  
So unless there are objections, I'll commit this to 1.6.

It would be interesting to see if the latest libtool behaves the same
way.  I have libtool 1.5.6 here (from Debian unstable), but the
upstream has released 1.5.10.

Oh, and Marius, unless you think I've misdiagnosed, I'll probably also
revert the addition of libguile-ltdl to subdirs_with_ltlibs in
pre-inst-guile.in.  Since these dirs are only added to the
LTDL_LIBRARY_PATH, and since LTDL_LIBRARY_PATH only affects
libguile-ltdl, and since there are no lt_dlopened libs in
libguile-ltdl, it seems like libguile-ltdl probably doesn't belong in
subdirs_with_ltlibs.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

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