Source: liblas
Version: 1.2.1-1
Severity: minor
User: peter.fritzs...@gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

It is maybe better in your case that liblas.so gets linked against
the needed libraries to fix that problem. You can use --no-undefined (or
respective -Wl,--no-undefined when linking with g++ or gcc) to check your
libraries if they still have symbols which doesn't get resolved by them.

dpkg-shlibdeps will also print warnings about unresolved symbols when it gets
run in your debian/rules.

More informations can be found at
 
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

/bin/bash ../libtool --tag=CXX   --mode=link g++  -Wall -Wno-long-long 
-pedantic -std=c++98 -g -O2 -g -Wall -O2 -O3 -DNDEBUG   -o las2ogr las2ogr.o 
../src/liblas.la -L/usr/lib -lgeotiff -L/usr/lib -lgdal1.6.0 
libtool: link: g++ -Wall -Wno-long-long -pedantic -std=c++98 -g -O2 -g -Wall 
-O2 -O3 -DNDEBUG -o .libs/las2ogr las2ogr.o  ../src/.libs/liblas.so -L/usr/lib 
-lgeotiff -lgdal1.6.0
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 
'TIFFSetField'
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 
'TIFFWriteEncodedStrip'
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 'TIFFIsTiled'
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 
'TIFFWriteCheck'
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 
'TIFFWriteDirectory'
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 
'TIFFGetField'
/usr/bin/ld: ../src/.libs/liblas.so: error: undefined reference to 'TIFFError'
collect2: ld returned 1 exit status
make[2]: *** [las2ogr] Error 1



_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to