Bug#369411: [Pkg-alsa-devel] Bug#369411: alsa-lib: FTBFS on AMD64 (32-bit link problems)

Elimar Riesebieter riesebie at lxtec.de
Mon May 29 17:31:08 UTC 2006


On Mon, 29 May 2006 the mental interface of
Ray Kohler told:

> Package: alsa-lib
> Version: 1.0.11-6
> Severity: serious
> Justification: no longer builds from source
> 
> The build fails when linking one of the 32-bit components. Looks like the wrong rpath is being used (/usr/lib32 instead of /lib32):
> 
> /bin/sh ../libtool --tag=CC --mode=link gcc -m32  -g -Wall -O2   -o aserver  aserver.o ../src/libasound.la 
> mkdir .libs
> gcc -m32 -g -Wall -O2 -o .libs/aserver aserver.o  ../src/.libs/libasound.so
> /usr/bin/ld: warning: libm.so.6, needed by ../src/.libs/libasound.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libdl.so.2, needed by ../src/.libs/libasound.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libpthread.so.0, needed by ../src/.libs/libasound.so, not found (try using -rpath or -rpath-link)

Could you please test a new debian/rules. Patch attached.

Thanks

Elimar


-- 
  >what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
              --posting from alex in debian-user--
-------------- next part --------------
--- rules.orig	2006-05-29 19:26:19.000000000 +0200
+++ rules	2006-05-29 19:30:33.000000000 +0200
@@ -24,7 +24,7 @@
   endif
   ifneq (,$(findstring /$(DEB_HOST_ARCH)/, /amd64/ppc64/))
     bi = 32
-    bilibdir = usr/lib32
+    bilibdir = lib32
     ifeq ($(DEB_HOST_ARCH),amd64)
       # amd64 unstable only!
       bilibdir = emul/ia32-linux/usr/lib


More information about the Pkg-alsa-devel mailing list