Let's say you get the following error message:

Possible solution: Type in:

Note: It is not recommended to mess around with LD_LIBRARY_PATH.

Replace /usr/local/lib if necessary. Then run ./configure again: