Running “configure” on a 64 bit system returns missing library errors

By jbayer - Last updated: Thursday, February 10, 2011 - Save & Share - Leave a Comment

Sometimes when building an open-source package using the “configure” script, you will get errors about missing libraries, even though you know the libraries are actually installed.  This usually happens on a 64 bit system.

Assuming that the libraries are actually installed, and the pkg-config program is installed and working then what is happening is that the libraries are installed in a different location than the configure script expects them to be.

An easy solution is to add the following option to the configure line:

--with-libarch=lib64

So the configure line would start with:

./configure --with-libarch=lib64
Posted in Building packages, Open Source, Programming • • Top Of Page
618 views

Write a comment

asd