[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (FIXED, more or less) Confused about symlink for AMD64
- From: Heiko Noordhof <heik0 at xs4all dot nl>
- Date: Wed, 06 Apr 2005 18:18:16 +0200
Heiko Noordhof wrote:
Flavio Stanchina wrote:
I don't think that error is caused by the missing symlink, but then I
don't know what the problem is and how to solve it. Unfortunately, I
don't have any experience with AMD64 systems yet.
Note that the error with libfglrx_gamma.1 is harmless. You need to
solve only the other one.
But now I still get this:
dpkg-shlibdeps: failure: ldd on
error exit status 1
dh_shlibdeps: command returned error code 256
make: *** [binary] Error 1
Seems I found out what caused this. For anybody interested, here's what
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 (note the
path mentioned in the error: ...emul/ia32-linux/...).
dpkg-shlibdeps calls ldd to read the dependencies from libGL.so.1.2. But
the *64-bit* version of "ldd" is called, which cannot deal with the
*32-bit* shared lib, so it fails.
Installing Setting $PATH to /emul/ia32-linux/usr/bin to make the shell
find the 32-bit version of "ldd" (which is in the package "ia32-libs")
is not enough. To run 32-bit binaries you need a chroot environment with
entire base-install of 32-bit sarge. You can read here about that:
So, I suppose, debian/rules needs to call dh_shlibdeps for 64-bit
And then call it seperately for the 32-bit version chroot-ed.
What I did to fix it, is commenting out every line in debian/rules that
deals with the 32-bit compatability stuff, and now it works 64-bit
programs. Which is enough for me at the moment. When time permits I'll
try to really find a 32-bit chroot fix and post it here.
But I'm wondering how Peter Nelson does this when he builds the
fglrx-debian packages for his website
(http://rufus.hackish.org/~rufus/files/fglrx/). (Peter, are you on
Thanks for helping. Regards,