[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch AMD64 shlibdeps (was: (FIXED, more or less) Confused about symlink for AMD64)



Flavio Stanchina wrote:
>
Heiko Noordhof wrote:

The error happens when dpkg-shlibdeps tries to find out the shared
library dependencies (called by dh_shlibdeps in debian/rules) for the
compatability *32-bit* version of libGL.so.1.2 [...]

So, I suppose, debian/rules needs to call dh_shlibdeps for 64-bit
skipping debian/fglrx-driver/emul/ia32-linux/usr/X11R6/lib/libGL.so.1.2.
And then call it seperately for the 32-bit version chroot-ed.


Ah, I think your analysis is correct. Could you please try changing
debian/rules to use dh_shlibdeps' -X option to exclude the 32-bit
libraries? That would make the package build fine. If it does, send me
the changes you make.

Find the patch below.
This makes it skip checking for the 32-bit emulation shared libs.
Tested and works on both 32- and 64-bit debian sarge. But I only tested the new version (8.12.10) of the fglrx driver.

libGL.so.1.2 was not the only 32-bit emul shlib that caused errors, so I used "-X debian/fglrx-driver/emul/ia32-linux", so it matches all 32-bit emulation shlibs.

You probably know this, but just in case,.. please note that the built packages will still install all the 32-bit stuff, while not having dependencies for them. Which makes it a "dirty" solution I suppose.

But OTOH what would a clean solution be for such a mixed package? Seperate packages for pure64 and 32-bit-emulation is the only clean way I can imagine. Would that be do-able?

Then we can look into that chroot stuff, but frankly I don't think it's
really important.

I still have no complete 32-bit-emul system set up. And I can't oversee the importance of it. I'm wondering, will a 32-bit application run on pure64 without the 32-bit emul-libs in place? Would it make a difference if this 32-bit app uses openGL.

If I can help out in some way, especially with the 64-bit version, please tell me how. (but note that I'm new to packaging and his 64-bit stuff though).

	Heiko


The patch:

--- fglrx-installer-8.12.10/debian/rules 2005-04-09 17:58:24.000000000 +0200 +++ fglrx-installer-8.12.10.heiko/debian/rules 2005-04-12 13:32:20.000000000 +0200
@@ -237,7 +237,7 @@
        dh_compress
        dh_makeshlibs
        dh_installdeb
-       dh_shlibdeps
+       dh_shlibdeps -X debian/fglrx-driver/emul/ia32-linux
 ifeq ($(CVERSION),$(PVERSION))
dh_gencontrol -- -VXVERSION=$(XVERSION) -VXVERSIONMAX=$(XVERSIONMAX) -VXTYPE=$(XTYPE) -VXSERVER=$(XSERVER)
 else