linux下安装软件遇见问题,求指导!
本文完全小白,最近在装hdf5,make install遇见了如下的错误。
ld: /home/luhui/usr/local/lib/libz.a(inflate.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/luhui/usr/local/lib/libz.a: could not read symbols: Bad value
libtool: install: error: relink `libhdf5_hl.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/luhui/hdf5-1.8.9/hl/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/luhui/hdf5-1.8.9/hl/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/luhui/hdf5-1.8.9/hl'
make: *** [install-recursive] Error 1
想问下各位这个问题是为什么,怎么解决?谢谢大家了!!