[Fedora-packaging] Convert 64bit DEB to RPM - dependency errors

Ralf Corsepius rc040203 at freenet.de
Sat May 4 03:52:12 UTC 2013


On 05/04/2013 05:06 AM, Michael Hall wrote:
> I am attempting to repackage a DEB version of the Lightworks video
> editor as an RPM for Fedora 18 (x86_64).
> I have unpacked the DEB file and copied the contents of data.tar.gz
> (/usr and subdirectories) to my BUILDROOT directory.
> Then I created a spec file which basically just specifies package info
> and the %files section.
> The RPM builds OK but does not install due to dependency errors.
> The dependencies are all actually in the RPM itself, as the Lightworks
> DEB package includes its own versions of needed libraries in
> /usr/lib/lightworks.
> Obviously, the RPM doesn't know about this.
> Apparently Debian doesn't use the /usr/lib64 location for 64 bit libraries.
Correct. Unless the Debian-packaging is broken, the trick during 
repackaging x86_64/amd64 binariers would be to move these */lib/* libs 
into */lib64 for Fedora and *not* to copy them into */lib.

> The problem may have something to do with this, or ldconfig or similar.
> Adding /sbin/ldconfig to a %post section has made no difference.
> Putting the libraries in either /usr/lib or /usr/lib64 in the RPM also
> hasn't fixed the issue
> Any suggestions on how I can resolve this?

Insufficient information, please provide more details. There are many 
details which can go wrong in such kind of attempts.

However, as you seem to be referring to a commercial closed source 
package, the better question would be why these folks don't package 
their package to install to somewhere under /opt/.

Ralf




More information about the packaging mailing list