TransWikia.com

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

Ask Ubuntu Asked on November 9, 2021

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.

One Answer

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

Answered by steeldriver on November 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP