I'm facing the below issue while compiling on RHEL 7.6 , I've installed gsl and used gcc versions gcc/4.9.1 gcc/5.2.0 gcc/7.2.0 gcc/8.3.0 without luck.
any suggestions ?
$ make
g++ caviar.cpp PostCal.cpp Util.cpp TopKSNP.cpp -I /path/to/app/CAVIAR/caviar/caviar-master/CAVIAR-C++/armadillo/include/ -DARMA_DONT_USE_WRAPPER -llapack -lblas -lgslcblas -lgsl -o CAVIAR
/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/liblapack.a(xerbla.o): undefined reference to symbol '_gfortran_string_len_trim@@GFORTRAN_1.0'
//usr/lib64/libgfortran.so.3: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [CAVIAR] Error 1
Hello!
I'm facing the below issue while compiling on RHEL 7.6 , I've installed gsl and used gcc versions gcc/4.9.1 gcc/5.2.0 gcc/7.2.0 gcc/8.3.0 without luck.
any suggestions ?
$ make g++ caviar.cpp PostCal.cpp Util.cpp TopKSNP.cpp -I /path/to/app/CAVIAR/caviar/caviar-master/CAVIAR-C++/armadillo/include/ -DARMA_DONT_USE_WRAPPER -llapack -lblas -lgslcblas -lgsl -o CAVIAR /bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/liblapack.a(xerbla.o): undefined reference to symbol '_gfortran_string_len_trim@@GFORTRAN_1.0' //usr/lib64/libgfortran.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [CAVIAR] Error 1