[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: |
Maxime Devos |
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:36:25 +0100 |
User-agent: |
Evolution 3.38.3-1 |
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.
signature.asc
Description: This is a digitally signed message part