Andreas Tille <andr...@an3as.eu> writes: > h5c++ -shared -fopenmp -o libssu.so tree.o biom.o unifrac_internal.o > unifrac_cmp_cpu.o unifrac.o cmd.o skbio_alt.o api.o -lc -lhdf5_cpp -llz4 > -llapacke -lblas -L/lib > /usr/bin/ld: > /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.a(H5Exception.o): warning: > relocation against `_ZTVN2H518DataTypeIExceptionE' in read-only section > `.text' > /usr/bin/ld: > /usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5_cpp.a(H5IdComponent.o): > relocation R_X86_64_PC32 against symbol `_ZTVN2H511IdComponentE' can not be > used when making a shared object; recompile with -fPIC
Please try arranging to add -shlib to the h5c++ command line to override that script's preference for static HDF5 libraries. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu