fhormoz / caviar

50 stars 24 forks source link

Compiling issue with RHEL 7 #20

Closed aelkhouly85 closed 3 years ago

aelkhouly85 commented 4 years ago

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