[mlpack-svn] [MLPACK] #348: Error with libmlpack.so.1

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Tue May 6 01:41:24 EDT 2014


#348: Error with libmlpack.so.1
---------------------+------------------------------------------------------
  Reporter:  korups  |        Owner:         
      Type:  defect  |       Status:  closed 
  Priority:  minor   |    Milestone:         
 Component:  mlpack  |   Resolution:  invalid
  Keywords:          |     Blocking:         
Blocked By:          |  
---------------------+------------------------------------------------------
Changes (by rcurtin):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Hi Julian,

 Because libmlpack.so.1 is not part of the dynamic linker's search path,
 you should specify
 LD_LIBRARY_PATH=/path/to/directory/containing/mlpack/library/ on the
 command-line when you call your executable.  An example is below (I'm
 assuming libmlpack.so.1 is in /usr/local/lib/).

 {{{
 $ LD_LIBRARY_PATH=/usr/local/lib/ ./test
 }}}

 Alternately you could set an rpath during compilation so that the dynamic
 linker doesn't need any hints to find libmlpack.so.1, but LD_LIBRARY_PATH
 works just fine for simple stuff in my opinion...

 Hope that helps.  Feel free to reopen the ticket if you have further
 problems.

 Thanks,

 Ryan

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/348#comment:1>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.


More information about the mlpack-svn mailing list