Am 11.05.2010 14:24, schrieb Jan de Groot: > On Mon, 2010-05-10 at 23:17 +0200, Thomas Bächler wrote: >> This moves the shared library from /usr/lib to /lib, so that dynamically >> linked cryptsetup works before /usr is mounted. >> > > libgcrypt.so is in both /lib and /usr/lib. IMHO there should be only > a .so in /usr/lib, not /lib.
Hm, does it matter? We did the same for popt and libgpg-error - and all other libraries I moved to /lib manually so far. The way I did it, it is simpler in the PKGBUILD, as you only move libfoo.so* to /lib and then symlink the .so file - you don't have to know the library version here. The only thing that is really necessary is this: You must have the .so in /usr/lib, otherwise the .a will be used and gcc/ld will always link the library statically.
signature.asc
Description: OpenPGP digital signature

