[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Library version naming confusion



On Sat, Feb 21, 2004 at 02:01:08PM -0500, Jens Vagelpohl wrote:
> I am attempting to create a set of RPMs but on RH9 everything is keyed 
> to "lib<foo>.so.2", so the RPM isn't usable. Does anyone know how I can 

This is the soname and is the right thing to depend on:

$ objdump -x /usr/lib/libldap.so.2.0.125 | grep SONAME
  SONAME      libldap.so.2

> influence this naming behavior, and do it "the right way"?

The right way in my opinion is to let rpm include these dependencies, and
not just add "Requires: /usr/lib/libldap.so.2.0.125" or something like that
in the spec file.