source

Finding missing packages when building from source on Ubuntu

So, you are building a program from source on Ubuntu and you have run into dependency issues, what do you do?

One solution is to use apt-file. Install this with sudo apt-get install apt-file. Then run apt-file update to update it’s cache. Now, you can use it to search for your missing dependencies by running apt-file search mymissingfile.so (replace mymissingfile.so with whatver you want) and it will show you what packages provide that dependency. The go ahead and install that package to solve your problems, it even shows you where that dependency is installed to!

Tags: ,

Wednesday, March 25th, 2009 Linux No Comments

Search

 
If you like what you read, please donate via PayPal;)

Support Me

Get a free Giffgaff Sim

Sponsors

Sponsors