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

Re: ldconfig or not

"David Engel" <david@sw.ods.com> writes:

> This issue has come up several times but nobody has ever fixed the
> Debian documentation.  ldconfig should (must if the library is not
> in /lib or /usr/lib) always be called in the postinst script.

Only iff "$1" is configure; you do *not* want to run ldconfig if the
postinst is called as abort-upgrade|abort-remove|abort-deconfigure, or
you can end up with all kinds of nastiness with .dpkg-tmp files as .so
links and in ld.so's cache and other fun stuff[1].

[1] Hi Ben.


To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: