guix-devel
[Top][All Lists]
Advanced

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

Re: Everytime I install a package a symlink to ld.so.cache is created in


From: vapnik spaknik
Subject: Re: Everytime I install a package a symlink to ld.so.cache is created in $GUIX_PROFILE/etc, why?
Date: Fri, 25 Feb 2022 16:04:23 +0000 (UTC)




> On Friday, February 25, 2022, 03:36:32 PM GMT, Maxime Devos 
> <maximedevos@telenet.be> wrote: 

> vapnik spaknik schreef op vr 25-02-2022 om 15:16 [+0000]:

>> I've noticed that whenever I install a new package guix symlinks
>> the ld.so.cache file in that package to the etc subdir of my
>> guix profile directory (on a foreign distro). I was a bit suspicious
>> when I first noticed this, but then I discovered that it does this
>> for every new package. Why?
>
>See 
><https://guix.gnu.org/en/blog/2021/taming-the-stat-storm-with-a-loader-cache/>.
>
>Also, unless there's a bug, guix does not replace the etc/ld.so.cache
>in the store item of the installed package by a symlink -- store items
>can (normally) not be modified after the fact.
>
>However, ~/.guix-profile/etc/ld.so.cache _is_ a symlink to some ld.so.cache
>of some arbitrary package in the profile.  This seems harmles to me, though
>pointless, perhaps the profile building code should be modified to ignore
>etc/ld.so.cache?
>
>Greetings,
>Maxime.

Yes, I meant ~/.guix-profile/etc/ld.so.cache 
It links to the ld.so.cache in the package dir of the last installed package. 
If that package, say X, is uninstalled, then it seems that 
~/.guix-profile/etc/ld.so.cache links to the package that was installed before 
X. 


reply via email to

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