[racket-dev] racket unlinking bigloo lib

From: Marijn (hkBst at gentoo.org)
Date: Thu Jan 12 04:25:48 EST 2012

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


Posted on the dev mailing list.