flappie icon indicating copy to clipboard operation
flappie copied to clipboard

/usr/bin/ld: cannot find -lblas

Open MeHelmy opened this issue 5 years ago • 1 comments

After I cloned the repository and run make:

-bash-4.1$ git clone https://github.com/nanoporetech/flappie I have this issue:

[ 84%] Linking C executable flappie /usr/bin/ld: cannot find -lblas collect2: ld returned 1 exit status make[4]: *** [flappie] Error 1 make[4]: Leaving directory source/flappie/build' make[3]: *** [CMakeFiles/flappie.dir/all] Error 2 make[3]: Leaving directory`

Any idea? Thanks

MeHelmy avatar May 08 '19 17:05 MeHelmy

This is a common problem on Centos / RedHat platforms, where the openblas library has been installed without add a symlink from the blas library -- flappie looks for blas and can't find it. I've added a flag to the makefile that will hopefully resolve the issue and updated the documentation.

make openblasRedHat=1 flappie

tmassingham-ont avatar Sep 06 '19 08:09 tmassingham-ont