-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Build errors with duplicated "lib64" in path #320
Copy link
Copy link
Closed
Description
Reported by noodleslick on 8 May 44157506 04:35 UTC
I tried to compile the mlpack from which I downloaded "mlpack-1.0.8.tar.gz"
After installed the
To compile the mlpack, the commands bellow:
$ mkdir build; cd build
$ cmake ../
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found Armadillo: /usr/local/lib64/libarmadillo.so (found suitable version "4.000.4", required is "3.6.0")
CMake Warning at CMakeLists.txt:81 (message):
This is a 64-bit system, but Armadillo was compiled without 64-bit index
support. Consider recompiling Armadillo with ARMA_64BIT_WORD to enable
64-bit indices (large matrix support). MLPACK will still work without
ARMA_64BIT_WORD defined, but will not scale to matrices with more than 4
billion elements.
-- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.7.6",
minimum required is "2.6.0")
Boost found.
Found Boost components:
program_options;unit_test_framework
-- Found Subversion: /usr/bin/svn (found version "1.6.11")
-- svnversion.hpp is already up to date.
-- Found Doxygen: /usr/bin/doxygen (found version "1.6.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hadoop/mjliu/hh/repo/build
$ make
... ...
[ 29%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/methods/radical/radical.cpp.o
make[*** No rule to make target `/usr/lib64/lib64/libboost_program_options-mt.so.5',
needed by `lib/libmlpack.so.1.0'. Stop.
make[1](2]:): *** [Error 2
make: *** [all](src/mlpack/CMakeFiles/mlpack.dir/all]) Error 2
with envs:
$ cmake --version
cmake version 2.8.12.2
$ uname -a
Linux noodleslik 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics- 4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
$ cat issue
CentOS release 6.4 (Final)
Kernel \r on an \m
Then I tried the repo part downloaded from build [ Also the cmake-2.8.6 it didn't work either.
It seems to be that the path of "libboost_program_options-mt.so.5" is dublicated with "lib64",
I searched by google, a link [http://stackoverflow.com/questions/9948375/cmake-find-package-succeeds-but-returns-wrong-path](http://big.cc.gt.atl.ga.us/job/mlpack%20-%20svn%20checkin%20test/ws/repo/]
) seems to encountered similar problems. But I don't know how to fix it.
Was the problem with cmake? or what eles? how can the problem be solved?
Any suggestions Thank!:-)
It's the first time that I create a ticket here. And I don't know how to set the tags like "priority", "component" etc. Sorry for that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels