[arch-general] pacman changes libcrypt.so.1 symlink

RedShift redshift at pandora.be
Wed May 7 14:28:28 EDT 2008


Xavier wrote:
> Lukáš Jirkovský wrote:
>> Hi
>> I don't know if it's bug or feature, but it makes me crazy. It begun
>> probably after some pacman upgrade.
>> I'm using blowfish passwords with my archlinux, so my
>> /lib/libcrypt.so.1 points to libxcrypt.so.1 instead of libcrypt-2.7.so
>> from glibc. In my pacman.conf I have NoExtract   = lib/libcrypt.so.1.
>> But even though I've made this arrangements everytime when I run
>> pacman -S some_interesting_package (it doesn't have to be glibc, eg
>> libpng is enough) the link gets changed.
>> Any suggestions?
>>
> 
>  From what I can tell, it's ldconfig who does this (try running it, it 
> should overwrite your symlink).
> And pacman runs ldconfig when installing packages.
> Maybe someone can clarify further why ldconfig does this and if it's 
> possible to prevent it.
> 

ldconfig makes sure you are using the most recent version of a certain library and provides a cache for the runtime linker. See man 8 ldconfig.

Glenn




More information about the arch-general mailing list