2010-05-12

Boost, Autoconf configure error

After upgrading tu Ubuntu 10.04, I started having a problem using an Autoconf-generated configure script to detect the Boost libraries. Ultimately, the problem turned out to be that the libraries just were not installed anymore! Here's what the configure output looked like:

checking for boostlib >= 1.38.0... yes
checking whether the Boost::Filesystem library is available... yes
configure: error: Could not link against  !
Note the two spaces before the "!". That's where the library name should be, if it were even found. So apparently I had the headers left over somehow, but the library had been uninstalled. Something to keep in mind if you see such an error...