RPM Community Forums

Mailing List Message of <rpm-users>

Building a spripped-down RPM5

From: Eric MSP Veith <eveith@wwweb-library.net>
Date: Tue 16 Dec 2008 - 15:59:37 CET
Message-Id: <200812161559.37999.eveith@wwweb-library.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

for my build environment I want to create a basic distro that comes with 
only the minimal requirements. This works quite well, except for RPM 5 
whose dependencies I do not dare to touch.

Two things disturb me: First the sqlite3 dependency and the need to have 
BerkeleyDB libraries around. The sqlite3 problem can be solved quite easily 
by just disabling it when running configure; however, the latter I don't 
understand: rpm5 brings it's own bdb, why does it rely on an external set 
of libraries?

I assume that this comes from dynamic linking (?), and I guess that doing 
static linking would solve the problem. Is there an *elegant* way to link 
the supplied bdb distributions statically?

Thanks,
		-- Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklHwlkACgkQfkUtd7QNU/uk3wCfWVg1fSiB2OECREsjvTZxijOV
ewoAoKDw7E8/TfgKPjgqSsaq2Mi4GGMc
=Olgl
-----END PGP SIGNATURE-----
Received on Tue Dec 16 15:59:42 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.