I'm trying to get the DIPimage toolbox ( http://www.diplib.org/ ) with Matlab 2010b. on Ubuntu I followed the instructions, but when trying to initialize the toolbox, I get the following error:
_____________________________________________
Initialisation of DIPlib failed. The most probable cause is incorrect
installation. Please make sure that the DIPimage distribution you
is compatible with your operating system, architecture and/or MATLAB
version. What follows is a diagnostic tool that should help debugging
your installation:
The files libdip.so, libdipio.so and libdml_mlv7_9.so must be available
on the library search path. Looking for them now:
Scanning /usr/local/MATLAB/R2010b/sys/os/glnx86
Scanning /usr/local/MATLAB/R2010b/bin/glnx86
Scanning /usr/local/MATLAB/R2010b/extern/lib/glnx86
Scanning /usr/local/MATLAB/R2010b/runtime/glnx86
Scanning /usr/local/MATLAB/R2010b/sys/java/jre/glnx86/jre/lib/i386/native_threads
Scanning /usr/local/MATLAB/R2010b/sys/java/jre/glnx86/jre/lib/i386/client
Scanning /usr/local/MATLAB/R2010b/sys/java/jre/glnx86/jre/lib/i386
Scanning /home/bart/Desktop/dip_2010/Linux/lib/
Found libdip.so
Found libdipio.so
Found libdml_mlv7_9.so
Summary of Library locations:
/home/bart/Desktop/dip_2010/Linux/lib/libdip.so (17-Mar-2010 09:46:22)
/home/bart/Desktop/dip_2010/Linux/lib/libdipio.so (17-Mar-2010 09:46:26)
/home/bart/Desktop/dip_2010/Linux/lib/libdml_mlv7_9.so (17-Mar-2010 09:46:27)
/home/bart/Desktop/dip_2010/common/mlv7_9/diplib/private/dip__initialise.mexglx (17-Mar-2010 09:46:52)
All the relevant libraries were found.
Creating a temporary file to do a ldd scan. This may provide you
with more information or, in the worst case, more information to
send to us...
linux-gate.so.1 => (0x003b1000)
libdml_mlv7_9.so => /home/bart/Desktop/dip_2010/Linux/lib/libdml_mlv7_9.so (0x007cf000)
libdipio.so => /home/bart/Desktop/dip_2010/Linux/lib/libdipio.so (0x00910000)
libdip.so => /home/bart/Desktop/dip_2010/Linux/lib/libdip.so (0x00cbe000)
libm.so.6 => /lib/libm.so.6 (0x004e4000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a31000)
libiomp5.so => /usr/local/MATLAB/R2010b/sys/os/glnx86/libiomp5.so (0x00110000)
libgcc_s.so.1 => /usr/local/MATLAB/R2010b/sys/os/glnx86/libgcc_s.so.1 (0x0019b000)
libc.so.6 => /lib/libc.so.6 (0x0050a000)
libdl.so.2 => /lib/libdl.so.2 (0x008b0000)
/lib/ld-linux.so.2 (0x0034c000)
Finally: this is the error message generated by the low-level
initialisation function:
Invalid MEX-file '/home/bart/Desktop/dip_2010/common/mlv7_9/diplib/private/dip__initialise.mexglx': libdml_mlv7_9.so: cannot open shared object file: No such file or directory.
_____________________________________________
So as far as I can see it located all the required library's, it just can't execute/open the MEX-file. Does anyone know how to solve this?
thanks!
Bart
Uninstalling and picking the right one solved my problem.