[mlpack-svn] [MLPACK] #250: CMake links against wrong library on OS X
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Mon Sep 17 17:51:57 EDT 2012
#250: CMake links against wrong library on OS X
----------------------------------+-----------------------------------------
Reporter: rcurtin | Owner: rcurtin
Type: defect | Status: new
Priority: minor | Milestone: mlpack 1.0.4
Component: build system | Resolution:
Keywords: os x, linker, cmake | Blocking:
Blocked By: |
----------------------------------+-----------------------------------------
Comment (by march):
Mac OS doesn't have ldd, but otool fills the same role.
{{{
lawn-128-61-53-24:build_deb march$ otool -L bin/mlpack_test
bin/mlpack_test:
/Users/march/fastlab/mlpack/trunk/build_deb/lib/libmlpack.1.dylib
(compatibility version 1.0.0, current version 1.0.0)
libarmadillo.2.dylib (compatibility version 2.0.0, current version
2.4.2)
/opt/local/lib/libboost_program_options-mt.dylib (compatibility
version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_unit_test_framework-mt.dylib
(compatibility version 0.0.0, current version 0.0.0)
/opt/local/lib/libboost_random-mt.dylib (compatibility version
0.0.0, current version 0.0.0)
/opt/local/lib/libxml2.2.dylib (compatibility version 10.0.0,
current version 10.8.0)
/opt/local/lib/gcc46/libstdc++.6.dylib (compatibility version
7.0.0, current version 7.16.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.1.0)
/opt/local/lib/gcc46/libgcc_s.1.dylib (compatibility version
1.0.0, current version 1.0.0)
}}}
Unfortunately, it doesn't seem like the error is reproducing for me right
now. There's a version of libmlpack.1.dylib in /Users/march/local, which
is what I gave for CMAKE_INSTALL_PREFIX, just like before.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/250#comment:1>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.
More information about the mlpack-svn
mailing list