source code – Internetblog.org.uk https://www.internetblog.org.uk Web hosting, Domain names, Dedicated servers Fri, 29 Jan 2016 11:05:52 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.5 https://www.internetblog.org.uk/files/2016/01/cropped-favico-32x32.png source code – Internetblog.org.uk https://www.internetblog.org.uk 32 32 How to fix common compiling problems in Linux https://www.internetblog.org.uk/post/1150/how-to-fix-common-compiling-problems-in-linux/ Tue, 30 Mar 2010 13:27:14 +0000 http://www.internetblog.org.uk/post/1150/how-to-fix-common-compiling-problems-in-linux/ Software compiling from source
In a previous post, I gave you a little intro to compiling software from source code in Linux. What I might not have mentioned is that it does not always go smoothly without a hitch. If you are on a short timeline with your server and need software X immediately and building from source is your only option, you should know how to fix common problems.

One common errors that usually occurs during the “configure” stage is a missing library or program. If you get errors saying that a certain file or library could not be found, you most likely need to install it. In the easiest situations, finding the needed software package is just a matter of searching for the name. If it happens to be libopenal, you would just search for the right package and install the development version of it.

In other cases, you might have to search for the library within a package (i.e. libsuchandsuch.so.1). Depending on your distribution, there are package searching tools available online, or you can just search Google (or your preferred search engine) with the library name and the name of your distribution. With any luck, the next time you run configure, it will compile without any errors.

Photo Source: Flickr

]]>