[mlpack-git] [mlpack] MLPACK-1.0.12 w/ Matlab bindings Installation Problem [Ubuntu 14.04.2 LTS]: Unknown MEX argument '-Wl, -rpath, /home/User1/mlpack-1.0.12/build/lib:' (#440)

Ryan Curtin notifications at github.com
Tue Jun 9 15:51:42 EDT 2015


I did not have any issues using gcc 4.9.2 and MATLAB R2015a.  Can you try upgrading your compiler?  If that does not work, the issue lies with MATLAB, because the command that CMake is issuing to mex is valid (this is from your output above):

```
/usr/local/MATLAB/R2015a/bin/mex -cxx -output ../../../../../matlab/gmm_mex.mexa64 CMakeFiles/gmm_mex.dir/gmm.o ../../../../../lib/libmlpack.so.1.0 /usr/lib/x86_64-linux-gnu/libxml2.so /usr/lib/libarmadillo.so /usr/lib/x86_64-linux-gnu/libboost_program_options.so /usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so /usr/lib/x86_64-linux-gnu/libboost_random.so /usr/lib/x86_64-linux-gnu/libxml2.so -lrt -Wl,-rpath,/home/User1/mlpack-1.0.12/build/lib
```

The same command is issued on my system, but it does not fail.

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/440#issuecomment-110484875
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150609/0a1ed430/attachment.html>


More information about the mlpack-git mailing list