Re: [Help] unifrac-tools: symbol `_ZTVN2H511IdComponentE' can not be used when making a shared object; recompile with -fPIC

2022-07-27 Thread Andreas Tille
Hi Aaron, Am Wed, Jul 27, 2022 at 07:44:28AM -0400 schrieb Aaron M. Ucko: > > Please try arranging to add -shlib to the h5c++ command line to override > that script's preference for static HDF5 libraries. Thanks a lot - this did the trick. Kind regards Andreas. -- http://fam-tille.de

Re: [Help] unifrac-tools: symbol `_ZTVN2H511IdComponentE' can not be used when making a shared object; recompile with -fPIC

2022-07-27 Thread Aaron M. Ucko
Andreas Tille 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: >

[Help] unifrac-tools: symbol `_ZTVN2H511IdComponentE' can not be used when making a shared object; recompile with -fPIC

2022-07-27 Thread Andreas Tille
Hi, the new version of package unifrac needs unifrac-tools. I've tried to build this package[1] but it fails with: 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