Package: netcdf Version: 4.1~beta2 Built the latest ver of netcdf from experimental on testing because I need to build python-netcdf4 which depends on latest netcdf.
Pkgs build fine, however compiling python-netcdf4 fails due to non-relocatable symbols in libnetcdf (i.e. the usual pic errors) Tried correcting the problem by specifying --enable-pic flag in debian/rules (i.e. DEB_CONFIGURE_EXTRA_FLAGS := ..... --enable-pic) python-netcdf4 still fails. I have since built netcdf 4.1 from upstream source (under /usr/local) using the same configure flags as specified in debian/rules (+--enable-pic). python-netcdf4 now compiles without error. Appears to be a packaging error somewhere Adrian Squeeze 2.6.32-trunk-amd64 P.S. python-netcdf4 fails when linking to libs fromm libnetcdf-dev: ============================================================= gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -fPIC build/temp.linux-x86_64-2.5/netCDF4.o -lnetcdf -lhdf5 -lhdf5_hl -lz -o build/lib.linux-x86_64-2.5/netCDF4.so /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a(nc4attr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a: could not read symbols: Bad value collect2: ld returned 1 exit status /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a(nc4attr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libnetcdf.a: could not read symbols: Bad value collect2: ld returned 1 exit status error: Command "gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -fPIC build/temp.linux-x86_64-2.5/netCDF4.o -lnetcdf -lhdf5 -lhdf5_hl -lz -o build/lib.linux-x86_64-2.5/netCDF4.so" failed with exit status 1 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org