(Mira) Configure: Error: Could Not Find A Version Of The Library! (Boost::Thread Library)
checking whether the Boost::Thread library is available... yes
configure: error: Could not find a version of the library!
Hi,
I'm trying to install MIRA, but I'm getting the error above. I have no idea how to fix it. If it's finding the library why can't it find the version? Is something labeled wrong somewhere? Has someone ran into this problem before? Should I even be worried that it can't find the version?
Thanks for looking!
• 14,555 views
•
link
1 answer
In the INSTALL file there was a paragraph that address my issue.
BOOST configure switches for MIRA:
----------------------------------
If a simple "./configure" and then "make" fails at the linker stage, you might
need to perform the "./configure" with additional flags telling it where the
version of BOOST that you want to use is installed. Those flags would be
"--with-boost[=DIR]", "--with-boost-libdir=LIB_DIR" or
"--with-boost-thread[=special-lib]". On how to use these flags, please consult
the help given by "./configure --help" or the documentation of BOOST
(http://www.boost.org).
I did the line below and all is fixed! Voilà!
sudo ./configure --with-boost-libdir=/usr/lib
I answered my own question, but in the future if you have this problem just tell MIRA where to find the BOOST library. MIRA won't even let you 'make' until it knows where BOOST is located.
• 0 views
•
link
Log in to answer this question.