[mlpack] Need some help when installing mlpack1.0.8

Ryan Curtin gth671b at mail.gatech.edu
Sun Apr 6 11:42:26 EDT 2014


On Sun, Apr 06, 2014 at 04:26:59PM +0530, Anand Soni wrote:
> Hi,
> 
> It seems like you have messed up in one of the following possible ways :
> 
> a) You have the mentioned .so file in more than one locations.
> 
> b) You have another directory named  'lib' inside /usr/lib (and hence the
> error : No rule to make target '*/usr/lib/lib/*libboost_
> program_options-mt.so.5)
> 
> c) If none of the above is the case try to find the library through the
> find_* command of cmake. Follow the links below if you need help :
> 
> http://www.cmake.org/cmake/help/v2.8.10/cmake.html#command%3afind_library
> http://stackoverflow.com/questions/12075371/cmake-find-library-custom-library-location
> 
> One of these should fix your problem.

In this case, because you're on CentOS, I think that adding
-D Boost_NO_BOOST_CMAKE=1 should fix your issue.  The Boost CMake
scripts on RHEL6 (or CentOS) act weirdly, but adding that argument to
the CMake command line should fix it.

If it doesn't, Anand's suggestions are good next places to look.

Thanks,

Ryan

-- 
Ryan Curtin    | "Do I sound like I'm ordering a pizza?"
ryan at ratml.org |   - John McClane



More information about the mlpack mailing list