RPM Community Forums

Mailing List Message of <rpm-users>

Re: Building a spripped-down RPM5

From: Jeff Johnson <n3npq@mac.com>
Date: Tue 16 Dec 2008 - 17:19:51 CET
Message-id: <8044501B-C5E1-4C4F-9FE8-1C3D5E05BD6E@mac.com>

On Dec 16, 2008, at 11:09 AM, Eric MSP Veith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I know that the distribution of bdb that comes with RPM has some
> modifications, that's ok with me.
>
> However, a normal build here leads to the following output
> of "rpm -q --reqiures":
>
> [...]
> libdb-4.5.so
> libsqlite3.so.0
> [...]
>

Something else is broken, likely a "-I../db3" being missed someplace,
possibly because of an implicit linkage.

This query
	rpm -q --filerequire rpm | grep libdb-4.5.so
will identify the culprit(s) (unless you have added AutoReqProv: no
to rpm.spec)

>>
>> The supplied Berkeley-DB _IS_ linked statically into RPM AFAIK.
>> But perhaps I misunderstand your question...
>>

BTW, this is true too, BerkeleyDB is already doing partial static  
linkage,
quite elegantly imho.

73 de Jeff

  • application/pkcs7-signature attachment: smime.p7s
Received on Tue Dec 16 17:19:57 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.