run ldconfig in the right package %post/%postun