Bug#317051: libgcj6: i386 package pulls lib64gcc1
Yann Dirson writes:
> Package: libgcj6
> Version: 4.0.0-12
> Severity: important
>
> This is surely not intended behaviour:
>
> # apt-cache show libgcj6 | grep lib64
> Depends: gcc-4.0-base (>= 4.0.0-12), libgcj-common (>= 4.0.0), lib64gcc1 (>= 1:4.0.0-7), libc6 (>= 2.3.2.ds1-21), zlib1g (>= 1:1.2.1)
Scott, Joey, dpkg-shlibdeps seems to be confused. On i386, sparc,
s390, amd64 (and soon powerpc), we have libgcc1 as 32bit and as 64bit
library. My current workaround doesn't seem to work anymore:
[ -d debian/lib64gcc1 ] && mv debian/lib64gcc1 debian/lib64gcc1.saved
dh_shlibdeps \
-Llibgcc1 \
-Llibgcj6 \
-l:debian/tmp/usr/lib:debian/libstdc++6/usr/lib:debian/libgcj6/usr/lib:debian/libgcc1/lib \
-pgij-4.0 -plibgcj6 -plibgcj6-awt
[ -d debian/lib64gcc1.saved ] && mv debian/lib64gcc1.saved debian/lib64gcc1
Any hints, how to pick up the correct library, or ignore 64bit libs,
when generating dependencies for 32bit binaries, and vice versa?
Matthias
Reply to: