Bug#795825: asterisk: FTBFS on amd64 arm64 ppc64el: /usr/bin/ld: cannot find -lSDL2 (and others)

Simon McVittie smcv at debian.org
Mon Aug 17 09:08:18 UTC 2015


Source: asterisk
Version: 1:13.1.0~dfsg-1.1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

When asterisk was binNMU'd for the libvpb1 transition, it failed to build
from source on amd64, arm64 and ppc64el:

<https://buildd.debian.org/status/package.php?p=asterisk>

/«PKGBUILDDIR»/build_tools/make_linker_version_script chan_pjsip "" "/«PKGBUILDDIR»"
x86_64-linux-gnu-gcc  -o chan_pjsip.so -pthread -fPIE -pie -Wl,-z,relro -Wl,-z,now    -shared -Wl,--version-script,chan_pjsip.exports,--warn-common  chan_pjsip.o pjsip/dialplan_functions.o  -lpjsua2 -lstdc++ -lpjsua -lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia -lpjmedia-videodev -lpjmedia-audiodev -lpjmedia -lpjnath -lpjlib-util -lsrtp -lpj -lm -lrt -lpthread -lSDL2 -lavformat-ffmpeg -lavcodec-ffmpeg -lswscale-ffmpeg -lavutil-ffmpeg -lv4l2 -lopencore-amrnb -lopencore-amrwb 
/usr/bin/ld: cannot find -lSDL2
/usr/bin/ld: cannot find -lavformat-ffmpeg
/usr/bin/ld: cannot find -lavcodec-ffmpeg
/usr/bin/ld: cannot find -lswscale-ffmpeg
/usr/bin/ld: cannot find -lavutil-ffmpeg
/usr/bin/ld: cannot find -lv4l2
/usr/bin/ld: cannot find -lopencore-amrnb
/usr/bin/ld: cannot find -lopencore-amrwb
collect2: error: ld returned 1 exit status

I don't know what's different about those three architectures. They're all
64-bit, but so is s390x, which built successfully.

    S



More information about the Pkg-voip-maintainers mailing list