Bug#615536: FTBFS due to change in DSO Linking
Source: liquidsoap
Version: 0.9.2-3
Severity: serious
Hello:
Due to recent changes in the gcc linker this error occurs.
OCAMLC -o liquidsoap
/usr/bin/ld: /usr/lib/ocaml/soundtouch/libsoundtouch_stubs.a(soundtouch_stubs.o):
undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
/usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in
DSO //usr/lib64/libstdc++.so.6 so try adding it to the linker command
line
//usr/lib64/libstdc++.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
Happens with both gcc-4.4 and gcc-4.5.
Adding -lstdc++ to the configure/configure.ac:
LDFLAGS="$LDFLAGS -L$prefix/lib"
to
LDFLAGS="$LDFLAGS -L$prefix/lib -lstdc++"
Seems to fix the problem and the package builds again.
Thanks in advance.
Miguel
Reply to: