ldconfig and %{_libdir}/%{name}/*.so files

Michael Schwendt bugs.michael at gmx.net
Sun Sep 17 11:48:12 UTC 2006


On Sun, 17 Sep 2006 13:11:01 +0200, Dawid Gajownik wrote:

> Dnia 09/17/2006 01:00 PM, Użytkownik Patrice Dumas napisał:
> >> gaim-gadugadu spec files¹ and they run this command.
> >>
> >> ¹ 
> >> http://cvs.fedora.redhat.com/viewcvs/rpms/gaim/devel/gaim.spec?view=markup
> > 
> > In gaim there is
> > %{_libdir}/libgaim-client.so.*
> 
> Uhm... but they run ldconfig only in %{_libdir}/gaim
> 
> --8<-----------------------------------------
> %postun
> /sbin/ldconfig -n %{_libdir}/gaim
> --8<-----------------------------------------
> 
> Bug in gaim?

Yes. It's a no-op. Whenever one needs to run ldconfig with -n, this must
be in %install, _not_ %post*. Instead, gaim is missing the normal ldconfig
run.




More information about the fedora-extras-list mailing list