0

我安装了犰狳 8(Ubuntu 18.04),但我发现有必要为稀疏矩阵安装带有 superLU 的 9.2 版。我已经安装了 superLU 5.2,但在制作犰狳 9 时出现以下错误:

usr/bin/ld: /usr/local/lib/libsuperlu.a(util.c.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
CMakeFiles/armadillo.dir/build.make:98: recipe for target 'libarmadillo.so.9.200.4' failed
make[2]: *** [libarmadillo.so.9.200.4] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/armadillo.dir/all' failed
make[1]: *** [CMakeFiles/armadillo.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

我能做些什么来解决这个问题?

4

0 回答 0