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

Michael Schwendt bugs.michael at gmx.net
Sun Sep 17 11:25:22 UTC 2006


On Sun, 17 Sep 2006 11:44:48 +0200, Dawid Gajownik wrote:

> Hi!
> 	May someone explain me whether I have to run ldconfig in %post{,un} 
> sections if package installs .so files in %{_libdir}/%{name} directory? 
> I thought that it's not necessary but I recently saw gaim and 
> gaim-gadugadu spec files¹ and they run this command.
> 
> ¹ http://cvs.fedora.redhat.com/viewcvs/rpms/gaim/devel/gaim.spec?view=markup
> http://cvs.fedora.redhat.com/viewcvs/rpms/gaim-gadugadu/devel/gaim-gadugadu.spec?root=extras&view=markup
> 
> Regards,
> 	Dawid

It's a packaging bug in both packages. Further, gaim puts a DSO into
%_libdir and hence ought to run ldconfig normally instead.





More information about the fedora-extras-list mailing list