Установка Armadillo 9.2 с помощью superLU - PullRequest
0 голосов
/ 19 ноября 2018

У меня установлен armadillo 8 (Ubuntu 18.04), но я считаю необходимым установить версию 9.2 с superLU для разреженных матриц. Я установил superLU 5.2, но я получаю следующую ошибку при создании armadillo 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

Что я могу сделать, чтобы это исправить?

...