← Back to team overview

sikuli-driver team mailing list archive

[Question #167597]: Running Sikuli 64bit on Linux (Red Hat Enterprise Linux 6.0) UnsatisfiedLinkError

 

New question #167597 on Sikuli:
https://answers.launchpad.net/sikuli/+question/167597

HELP! I don't know what I'm doing wrong, and am not too familiar with linux:
I have installed OpenCV-2.1.0, or at least think I did:

Installing OpenCV-2.1.0:

Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/share/opencv/OpenCVConfig.cmake
-- Up-to-date: /usr/local/lib/pkgconfig/opencv.pc
-- Up-to-date: /usr/local/lib/libcxcore.so.2.1.0
-- Up-to-date: /usr/local/lib/libcxcore.so.2.1
-- Up-to-date: /usr/local/lib/libcxcore.so
-- Up-to-date: /usr/local/include/opencv/cxcore.h
-- Up-to-date: /usr/local/include/opencv/cxcore.hpp
-- Up-to-date: /usr/local/include/opencv/cxerror.h
-- Up-to-date: /usr/local/include/opencv/cxmat.hpp
-- Up-to-date: /usr/local/include/opencv/cxmisc.h
-- Up-to-date: /usr/local/include/opencv/cxoperations.hpp
-- Up-to-date: /usr/local/include/opencv/cxtypes.h
-- Up-to-date: /usr/local/include/opencv/cvver.h
-- Up-to-date: /usr/local/include/opencv/cvwimage.h
-- Up-to-date: /usr/local/include/opencv/cxflann.h
-- Up-to-date: /usr/local/include/opencv/cvinternal.h
-- Up-to-date: /usr/local/lib/libcv.so.2.1.0
-- Up-to-date: /usr/local/lib/libcv.so.2.1
-- Up-to-date: /usr/local/lib/libcv.so
-- Up-to-date: /usr/local/include/opencv/cv.h
-- Up-to-date: /usr/local/include/opencv/cv.hpp
-- Up-to-date: /usr/local/include/opencv/cvcompat.h
-- Up-to-date: /usr/local/include/opencv/cvtypes.h
-- Up-to-date: /usr/local/lib/libcvaux.so.2.1.0
-- Up-to-date: /usr/local/lib/libcvaux.so.2.1
-- Up-to-date: /usr/local/lib/libcvaux.so
-- Up-to-date: /usr/local/include/opencv/cvaux.h
-- Up-to-date: /usr/local/include/opencv/cvaux.hpp
-- Up-to-date: /usr/local/include/opencv/cvvidsurv.hpp
-- Up-to-date: /usr/local/lib/libml.so.2.1.0
-- Up-to-date: /usr/local/lib/libml.so.2.1
-- Up-to-date: /usr/local/lib/libml.so
-- Up-to-date: /usr/local/include/opencv/ml.h
-- Up-to-date: /usr/local/lib/libhighgui.so.2.1.0
-- Up-to-date: /usr/local/lib/libhighgui.so.2.1
-- Up-to-date: /usr/local/lib/libhighgui.so
-- Up-to-date: /usr/local/include/opencv/highgui.h
-- Up-to-date: /usr/local/include/opencv/highgui.hpp
-- Up-to-date: /usr/local/bin/opencv_haartraining
-- Up-to-date: /usr/local/bin/opencv_createsamples
-- Up-to-date: /usr/local/bin/opencv_performance
-- Up-to-date: /usr/local/bin/opencv_traincascade
-- Up-to-date: /usr/local/share/opencv/doc/ChangeLog.htm
-- Up-to-date: /usr/local/share/opencv/doc/haartraining.htm
-- Up-to-date: /usr/local/share/opencv/doc/index.htm
-- Up-to-date: /usr/local/share/opencv/doc/packaging.txt
-- Up-to-date: /usr/local/share/opencv/doc/CMakeLists.txt
-- Up-to-date: /usr/local/share/opencv/doc/README.txt
-- Up-to-date: /usr/local/share/opencv/doc/license.txt
-- Up-to-date: /usr/local/share/opencv/doc/opencv.jpg
-- Up-to-date: /usr/local/share/opencv/doc/opencv-logo2.png
-- Up-to-date: /usr/local/share/opencv/doc/opencv-logo.png
-- Up-to-date: /usr/local/share/opencv/doc/opencv.pdf
-- Up-to-date: /usr/local/share/opencv/doc/pattern.pdf
-- Up-to-date: /usr/local/share/opencv/doc/papers/camshift.pdf
-- Up-to-date: /usr/local/share/opencv/doc/papers/algo_tracking.pdf
-- Up-to-date: /usr/local/share/opencv/doc/papers/avbpa99.ps
-- Up-to-date: /usr/local/share/opencv/doc/vidsurv/Blob_Tracking_Modules.doc
-- Up-to-date: /usr/local/share/opencv/doc/vidsurv/Blob_Tracking_Tests.doc
-- Up-to-date: /usr/local/share/opencv/doc/vidsurv/TestSeq.doc
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_eye_tree_eyeglasses.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_righteye.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_lefteye.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_frontalface_alt.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_lowerbody.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_profileface.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_lefteye_2splits.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_eyepair_big.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_righteye_2splits.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_eyepair_small.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_eye.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_upperbody.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_frontalface_alt_tree.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_mouth.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_fullbody.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_upperbody.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_mcs_nose.xml
-- Up-to-date: /usr/local/share/opencv/haarcascades/haarcascade_frontalface_default.xml
-- Up-to-date: /usr/local/share/opencv/lbpcascades/lbpcascade_frontalface.xml
[anup@localhost OpenCV-2.1.0]$ 



Then, running "switchApp("gedit")" from IDE:

[error] Stopped [error] An error occurs at line 1 [error] Error message: Traceback (most recent call last): File " ", line 1, in   File "/home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/__init__.py", line 1, in   File "/home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/Sikuli.py", line 20, in   java.lang.UnsatisfiedLinkError: /home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libVisionProxy.so: libml.so.2.1: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) at java.lang.Runtime.load0(Runtime.java:787) at java.lang.System.load(System.java:1022) at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44) at org.sikuli.script.Finder. (Finder.java:28) at ja 
va.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at org.python.core.Py.findClassEx(Py.java:817) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133) at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122) at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137) at org.python.core.PyObject.__findattr__(PyObject.java:869) at org.python.core.imp.import_name(imp.java:771) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.imp.importFromAs(imp.java:884) at org.python.core.imp.i 
mportFrom(imp.java:860) at sikuli.Sikuli$py.f$0(/home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/Sikuli.py:209) at sikuli.Sikuli$py.call_function(/home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/Sikuli.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:326) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:451) at org.python.core.imp.find_module(imp.java:408) at org.python.core.PyModule.impAttr(PyModule.java:109) at org.python.core.imp.import_next(imp.java:637) at org.py 
thon.core.imp.import_name(imp.java:746) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.__builtin__.__import__(__builtin__.java:1185) at org.python.core.imp.importAll(imp.java:904) at sikuli$py.f$0(/home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/__init__.py:1) at sikuli$py.call_function(/home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/__init__.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:326) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) at org.python.modules.zipimport.zipimporter$z 
ipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:451) at org.python.core.imp.find_module(imp.java:408) at org.python.core.imp.import_next(imp.java:635) at org.python.core.imp.import_name(imp.java:746) at org.python.core.imp.importName(imp.java:806) at org.python.core.ImportFunction.__call__(__builtin__.java:1232) at org.python.core.PyObject.__call__(PyObject.java:367) at org.python.core.__builtin__.__import__(__builtin__.java:1202) at org.python.core.__builtin__.__import__(__builtin__.java:1185) at org.python.core.imp.importAll(imp.java:904) at org.python.pycode._pyx2.f$0( :1) at org.python.pycode._pyx2.call_function( ) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1204) at org.python.core.Py.exec(Py.java:1248) at org.python.util.PythonInterpreter.ex 
ec(PythonInterpreter.java:172) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:52) at org.sikuli.ide.SikuliIDE$ButtonRun.runPython(SikuliIDE.java:1511) at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:1616)  java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /home/anup/Desktop/linux/64bit/Sikuli-X-1.0rc2-linux/Sikuli-IDE/libs/libVisionProxy.so: libml.so.2.1: cannot open shared object file: No such file or directory


Also, running "ldd libs/libVisionProxy.so":

[anup@localhost Sikuli-IDE]$ ldd libs/libVisionProxy.so
	linux-vdso.so.1 =>  (0x00007fff886e8000)
	libml.so.2.1 => not found
	libcvaux.so.2.1 => not found
	libhighgui.so.2.1 => not found
	libcv.so.2.1 => not found
	libcxcore.so.2.1 => not found
	libtiff.so.4 => not found
	libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fb3fb27d000)
	libm.so.6 => /lib64/libm.so.6 (0x00007fb3faff8000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fb3fade2000)
	libc.so.6 => /lib64/libc.so.6 (0x00007fb3faa51000)
	/lib64/ld-linux-x86-64.so.2 (0x000000337c000000)



Anyone?

You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.