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

Ray Kohler ataraxia at cmu.edu
Mon May 29 16:40:06 UTC 2006


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)
.../src/.libs/libasound.so: undefined reference to `dlclose at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `pow at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `dlopen at GLIBC_2.1'
.../src/.libs/libasound.so: undefined reference to `sqrt at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `dlsym at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `sqrtf at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `pthread_create at GLIBC_2.1'
.../src/.libs/libasound.so: undefined reference to `pthread_join at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `exp at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `fmod at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `rintf at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `dladdr at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `pthread_mutex_trylock at GLIBC_2.0'
.../src/.libs/libasound.so: undefined reference to `log at GLIBC_2.0'
collect2: ld returned 1 exit status
make[2]: *** [aserver] Error 1
make[2]: Leaving directory `/home/ataraxia/alsa-lib-1.0.11/bibuild/aserver'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ataraxia/alsa-lib-1.0.11/bibuild'
make: *** [build-biarch-stamp] Error 2

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)




More information about the Pkg-alsa-devel mailing list