On 25.08.2017 17:23, Allin Cottrell wrote:
 On Fri, 25 Aug 2017, Artur T. wrote:
> Dear Allin,
>
> first of all thanks for implementing the libsvm program into gretl!
>
> I just tried to test it on my xubuntu 17.04 linux machine. I used the 
> shell script build.sh to install the libsvm libraries. It ran through 
> without any issues. The following directories and files were set up:
>
> /usr/local/include/libsvm/svm.h
> /usr/local/lib/libsvm.so
> /usr/local/lib/libsvm.so.2
> /usr/local/lib/gretl-gtk2/svm.la
> /usr/local/lib/gretl-gtk2/svm.so
> /usr/local/bin/svm-predict
> /usr/local/bin/svm-train
> /usr/local/bin/svm-scale
>
> After running the shell script, I recompiled gretl using the 
> --with-libsvm option. However, I obtain the following error message 
> when running your first example script "Listing 1"
>
> <output>
>    Failed to load plugin: /usr/local/lib/gretl-gtk2/svm.so
>    Couldn't load plugin function
>    Error executing script: halting
>    > series svmpred = svm(L, parms)
> </output>
>
> even though the smv.so file is in the directory.
 What does
 ldd /usr/local/lib/gretl-gtk2/svm.so | grep svm
 say? And is /usr/local/lib indexed by ldconfig?
 Allin 
Great, sudo ldconfig has helped! It works nicely! Thank you!
Artur