Automatic RPM provides for libraries

Patrice Dumas pertusus at free.fr
Sat Nov 10 18:40:50 UTC 2007


On Sat, Nov 10, 2007 at 04:13:08PM +0100, Ralf Ertzinger wrote:
> Hi.
> 
> I just notices something strange on my local system and would
> like to check if I screwed up or something in RPM changed.
> 
> 
> Assume I package a library and the RPM file contains two files:
> 
> /usr/lib/libfoo.so.1 -> libfoo.so.1.0.0
> /usr/lib/libfoo.so.1.0.0
> 
> Now, my experience so far was that the RPM file will (automagically)
> Provide: libfoo.so.1

rpm automatically provides the soname of the library (if I'm not wrong). 
It may happen (as a bug or on purpose) that libfoo has libfoo.so.1.0.0 
as soname. In that case it is strange, however, to have the libfoo.so.1 
file. Do you have a precise example?

--
Pat




More information about the fedora-devel-list mailing list