g++: error: /usr/lib64/atlas/libsatlas.so: No such file or directory

I am trying to compile this code https://thoth.inrialpes.fr/src/deepmatching/ which is supposed to be as simple as running the make command but am getting the error

g++: error: /usr/lib64/atlas/libsatlas.so: No such file or directory

I read online that it is because I am missing the atlas library so have tried running the command pip install atlas yet am still getting the same error. Could I get some advice please on how I can fix this.

0
задан 22 July 2020 в 00:09

1 ответ

As noted in the software's README.txt file:

This program has been built on a fedora18 x64 machine and tested on Mac OS X. *No assistance* will be given to compile the code on other OS.

One way that appears to work (I've only tested it with ./deepmatching --help) is:

  • install the libatlas-base-dev package and its dependencies

  • run

     make clean
     make LAPACKLDFLAGS="$(pkg-config --cflags --libs blas-atlas)"
    

Note that this is almost certainly not the only way and quite possibly not the optimum way, since there is a multitude of different BLAS/LAPACK/ATLAS implementations available in Ubuntu. See for example What is the relation between BLAS, LAPACK and ATLAS

2
ответ дан 30 July 2020 в 22:04

Другие вопросы по тегам:

Похожие вопросы: