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

ldconfig in postinst



My package meschach has a shared library.  Previously, I called ldconfig in
the postinst to get the library registered (it was made mandatory in Policy
2.4.1.0).

But I've noticed just now as I prepare a new upload that lintain complains,
saying,

W: meschach: postinst-has-useless-call-to-ldconfig

So I'm a bit confused about what the problem is, especially since the
directive in Policy 2.4.1.0 doesn't appear to have been annulled.

(and do I need to put dpkg-shlibdeps in debian/rules somewhere?  It seems
fine without it)

My postinst is:
#!/bin/sh 
# meschach.postinst, runs ldconfig 
set -e 
 
case "$1" in 
       configure) 
               ldconfig 
               ;; 
       abort-upgrade|abort-remove|abort-deconfigure) 
               ;; 
esac 
 
 
#DEBHELPER# 
##################################################

Thanks for any clues or explanations,

Drew















-- 
PGP public key available at http://dparsons.webjump.com/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A



Reply to: