[lokisetup] more on bz2

Ryan C. Gordon icculus at clutteredmind.org
Sat Feb 23 17:24:40 EST 2002


> Yes, but the reason I initially added bzip2 support was to be able to
> support RPM 4.x archive, which now uses bzip2 compression. So if you are
> compiling with RPM 4 support you will need to link with it (Ryan make
> sure your patches include that).

The configure script explicitly checks that bzip2 support is enabled if
you try to --enable the RPM support.

> A side effect was the inclusion of a more general way of handling those
> files, since manual extraction of RPMs just involves gunzip/bunzip2'ing
> of CPIO files. So we have full bzip2 support in the process :P
>
> Either way yes the bzip2 library should be statically linked.

Again, the problem seems to be in binutils or something. The Makefiles
we're generating now DO try to statically link it.

--ryan.






More information about the Lokisetup mailing list