Gentoo Archives: gentoo-lisp

From: Marijn <hkBst@g.o>
To: Matthew Flatt <mflatt@×××××××.edu>
Cc: "dev@×××××××××××.org" <dev@×××××××××××.org>, Bigloo Mailing list <bigloo@××××××××××××.fr>, gentoo-lisp@l.g.o
Subject: [gentoo-lisp] Re: [racket-dev] racket unlinking bigloo lib
Date: Thu, 12 Jan 2012 09:20:08
Message-Id: 4F0EA71C.7050505@gentoo.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10-01-12 15:25, Matthew Flatt wrote:
> At Tue, 10 Jan 2012 11:31:19 +0100, Marijn wrote: >> Racket calls `ldconfig -n /usr/lib' in the course of doing `make >> install' and this causes one of bigloo's shared object symlinks >> to be unlinked. I don't think racket should be calling ldconfig. > > That call comes from `libtool --mode=finish'. I'm no libtool > expert,but my understanding is that `libtool --mode=finish' is > needed in general when installing via `libtool'.
I'm far from an expert on libtool. Using DESTDIR everything including shared libraries is installed in a staging area by `make install'. Files will only be moved to the ``live filesystem'' by the package manager after things like make install have finished running. Currently `libtool --mode=finish' is run on the ``live filesystem'' library directory. This should not have any effect on anything in the staging area. Thus `libtool --mode=finish' should either be run on the DESTDIR staging area or not at all. Marijn -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8OpxwACgkQp/VmCx0OL2z5BwCffdwgsr8LNua1whRL+WRawQ6a VasAoIqZPcXdzllC4X8WchOlK/rxmeGa =f3vP -----END PGP SIGNATURE-----