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

place of ldconfig in postinst



Hi,

I'm building my first packages with shared library.

This is what my postinst states:


case "$1" in
    configure)
    ldconfig
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2


Still lintian complains about:

W: iiwusynth: postinst-unsafe-ldconfig
N:
N:   The postinst script calls ldconfig unsafely. The postinst must only
N:   call ldconfig when given the argument "configure".
N:
N:   Refer to Policy Manual, chapter 9 for details.


Sorry, I don't get it !

-- 
Eric VAN BUGGENHAUT

Eric.VanBuggenhaut@AdValvas.be



Reply to: