|
From: | Alois Schlögl |
Subject: | [Octave-bug-tracker] [bug #48771] [octave forge] (nan) Link against the shared library libsvm |
Date: | Wed, 30 Aug 2017 17:57:49 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #6, bug #48771 (project octave): The change set 616:2b12bc73975c adds autoconf support for HAVE_EXTERNAL_LIBLINEAR HAVE_EXTERNAL_LIBSVM and it seems to work when compiling from within octave-NaN/src ./configure && make will link to libsvm/liblinear from the system when available at compile time svmpredict_mex.mex: libsvm.so.3 => /usr/lib/libsvm.so.3 (0x00007f2147a4d000) svmtrain_mex.mex: libsvm.so.3 => /usr/lib/libsvm.so.3 (0x00007fafde70f000) train.mex: liblinear.so.3 => /usr/lib/x86_64-linux-gnu/liblinear.so.3 (0x00007f7511226000) and link to the internal code if not. This ist tested on Debian 9 with apt-get install liblinear-dev libsvm-dev -y apt-get remove liblinear-dev libsvm-dev -y Please test whether this does the job. Cheers Alois _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48771> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |