Dear developer,
I've tried multiple solutions on Google, but still get the following error message. Could you please help me point out the problem? The mpi I'm using for the whole process is mpicxx. i'm going crazy.
mpicxx -g -O3 -fopenmp -std=c++11 main.o -L. -llammps_mpi_mbx -L/lib -lfftw3 -lfftw3f /16T_2/zcj/LAMMPS/MBX/lib/libmbx.a -o ../lmp_mpi_mbx
/
usr/bin/ld: ./liblammps_mpi_mbx.a(platform.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit statusMakefile:109: recipe for target '../lmp_mpi_mbx' failed
make[1]: *** [../lmp_mpi_mbx] Error 1
make[1]: Leaving directory '/16T_2/zcj/LAMMPS/lammps/src/Obj_mpi_mbx'
Makefile:381: recipe for target 'mpi_mbx' failed
make: *** [mpi_mbx] Error 2