[pacman-dev] needless ldconfig
That is terrible, that pacman does ldconfig always. A NOLDCONFIG flag would be nice (and easy to implement) somewhere in .PKGINFO. These solution would be compatible with older packeges (because ldconfig is still the default), however we can radically speed up for example -R in the case of packages where no ldconfig is needed. Bye, Nagy Gabor
Nagy Gabor wrote:
That is terrible, that pacman does ldconfig always. A NOLDCONFIG flag would be nice (and easy to implement) somewhere in .PKGINFO. These solution would be compatible with older packeges (because ldconfig is still the default), however we can radically speed up for example -R in the case of packages where no ldconfig is needed. Bye, Nagy Gabor
CMIIW, but wouldn't adding an extra check be slower? I mean, most packages need an ldconfig anyway. In most cases, the ldconfig would be necessary, in which case the check for ldconfig would make it slower -- Alex Smith Frugalware Linux developer - http://www.frugalware.org
On 2/27/07, Nagy Gabor <ngaba@petra.hos.u-szeged.hu> wrote:
That is terrible, that pacman does ldconfig always. A NOLDCONFIG flag would be nice (and easy to implement) somewhere in .PKGINFO. These solution would be compatible with older packeges (because ldconfig is still the default), however we can radically speed up for example -R in the case of packages where no ldconfig is needed. Bye, Nagy Gabor
I better solution would be to only run ldconfig when a lib directory is touched. Adding extra flags adds more complexity to something that's very easy to minimize in other ways. I have a solution for running ldconfig all the time that will/may remove it from the pacman proper, but that will be implemented later on.
participants (3)
-
Aaron Griffin
-
Alex Smith
-
Nagy Gabor