[csw-maintainers] BerkeleyDB upgrade

Philip Brown phil at bolthole.com
Thu Jul 22 21:20:56 CEST 2010


On 7/22/10, Maciej (Matchek) Blizinski <maciej at opencsw.org> wrote:
> No dia 22 de Julho de 2010 18:28, Philip Brown <phil at bolthole.com> escreveu:
>
>>
>> the old search webpage already included that functionality. and
>> happily, the new search appears to have inherited it :)
>>
>> putting in libdb-4.7.so in the file search, and using "exact match",
>> will give you a list of packages that have that specific name in the
>> "NEEDED" section of the ELF header thingamajigs.
>
> Let's suppose you had a binary needing libdb-4.7.so, with the following
> RPATH:
>
> /opt/csw/lib:/opt/csw/bdb47/lib
>
> It would get listed on in your search, even though it doesn't depend
> on the library in /opt/csw/lib.


I'm not sure I understand why you are writing this. So, I will add
more information and hopefully clear things up.

First off, let me say that the existing library search is not
"perfect". It does not cover all possible library search cases.
However, it does cover a particular set of interest very well:

If a library has a unique "SONAME", then it will tell you fairly
accurately which packages have something depending on that SONAME.

Please note: pure "SONAME".  Which is a standalone filename, that has
no RPATH component to it.o

So, since dbd4.7 does have a unique SONAME of libdb-47.so, it
accurately tells us which packages need that library.  Which I thought
was the original question.

It is unfortunately confusing, because the current interface is
through the "filename" search field, which is bad and misleading.
But that being said, the library dependancy function is quite useful :)


More information about the maintainers mailing list