Description of problem: postgresql-server puts a bunch of files in /usr/lib/pgsql. Its %post scrptlet runs ldconfig, but ldconfig ignores the directory where the new libs were just installed. Version-Release number of selected component (if applicable): 7.4.13-2.RHEL4.1 Additional info: Something like this would probably fix it: --- postgresql.spec.orig 2006-05-28 21:21:45.000000000 -0500 +++ postgresql.spec 2006-05-28 21:24:20.000000000 -0500 @@ -569,6 +569,7 @@ %post server chkconfig --add postgresql +echo "%{_libdir}/pgsql" >/etc/ld.so.conf.d/pgsql-%{_arch}.conf /sbin/ldconfig %preun server @@ -578,6 +579,7 @@ fi %postun server +rm -f /etc/ld.so.conf.d/pgsql-%{_arch}.conf /sbin/ldconfig if [ $1 -ge 1 ] ; then /sbin/service postgresql condrestart >/dev/null 2>&1 || :
I do not see the problem here. All those .so files are intended to be loaded via explicit dlopen; there is no need for ldconfig to process them. What specific problem are you having that makes you think they need to be included in ldconfig's list?
Aha, in that case there's no bug. I was having a problem with /usr/lib/pgsql/postgis.so from the non-RH package with the same name, noticed there was no ldconfig pointer to the directory, and assumed postgres should have made one irrespective of postgis. Sorry for the false alarm.
OK, closing as NOTABUG then.