我是医学专业的学生,没有计算机和编程基础,为了进行结构生物学研究,我尝试在WMware的ubuntu上装relion,安装过程中有一个问题不知道怎么解决。在make过程中出现以下错误:
[ 62%] Building CXX object src/apps/CMakeFiles/display.dir/display.cpp.o
[ 63%] Linking CXX executable ../../bin/relion_display
/usr/bin/ld: /usr/local/lib/libfltk.a(Fl_Window_shape.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/apps/CMakeFiles/display.dir/build.make:99: bin/relion_display] Error 1
make[1]: *** [CMakeFiles/Makefile2:458: src/apps/CMakeFiles/display.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
我查了网上有人说在编译过程中好像是在CMakeLists.txt还是Makefile里加-ldl可以解决,但我不知道具体怎么加,尝试了几次都没成功。安装过程是按照relion官网上面的提示来的,上面也有说MPI和Cmake调用的编译器不一样也可能导致link过程出错。不知道这个错误到底是什么原因以及如何解决。