Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

error: No such file or directory (While compiling in Debian)

Date: 2011-05-01 00:00:00 -0400

If you are compiling something from sources in Debian, and you see something like this:

error: somefile.so No such file or directory

You will have to look for a package that contain that library, the best way to do it in Debian is using apt-file, so let's install it:

 apt-get install apt-file

And then look for the file:

 apt-file update && apt-file search somefile.so

This will give you a list of packages containing that file, which you can then install using apt-get this time you should be able to finish your compilation.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.