bcm-uga / Loter

A software package for local ancestry inference and haplotype phasing
Other
38 stars 7 forks source link

[Install Error] cannot find -lblas #13

Closed silvewheat closed 4 years ago

silvewheat commented 4 years ago

Hello, I tried to install in linux system, but an error occurred as below (the last three lines):

/usr/bin/ld: cannot find -lblas collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status

Is there something I need to install as a dependency?

ntm commented 4 years ago

it seems you need to install the blas library, eg on centos or fedora: yum install blas

gdurif commented 4 years ago

Hi, Thanks @ntm for the answer. On debian and derivatives (ubuntu, etc.), you can do:

apt-get install libblas-dev