← Back to team overview

sikuli-driver team mailing list archive

[Bug 949808] Re: [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

 

In ubuntu 12.11 that ships with opencv2.3 I solved the problem of libVisionProxy not finding libml.so by fixing the jni path
I have not installed opencv 2.1 but adding to the sikuli-ide.sh 

export LD_LIBRARY_PATH="$DIR/libs:/usr/lib/x86_64-linux-
gnu/jni:$LD_LIBRARY_PATH"

of course change the x86_64-linux-gnu part if you are in different arch.

you can find out the correct value by 
$ dpkg-architecture |grep DEB_HOST_MULTIARCH

Keep it up RaiMan!
ciao
Eli

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/949808

Title:
  [request] Ubuntu 12.04: Sikuli should work with OpenCV 2.3

Status in Sikuli:
  New

Bug description:
  Failed to import the module sikuli.Sikuli in jython in Ubuntu 12.04,
  it seems that it depends on opencv2.1 however opencv2.3 is installed
  in Ubuntu 12.04.

  Error:
   File "/home/administrator/Linux/lib/clientgui.py", line 4, in <module>
      from sikuli_utils import *
    File "/home/administrator/Linux/lib/sikuli_utils.py", line 6, in <module>
      from sikuli.Sikuli import *
    File "/home/administrator/Linux/lib/sikuli_utils.py", line 6, in <module>
      from sikuli.Sikuli import *
    File "/home/administrator/Linux/lib/libsikuli/sikuli/__init__.py", line 1, in <module>
      from Sikuli import *
    File "/home/administrator/Linux/lib/libsikuli/sikuli/Sikuli.py", line 20, in <module>
      from org.sikuli.script import Finder
  java.lang.UnsatisfiedLinkError: /tmp/tmplib/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(Unknown Source)
   at java.lang.ClassLoader.loadLibrary(Unknown Source)
   at java.lang.Runtime.load0(Unknown Source)
   at java.lang.System.load(Unknown Source)
   at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
   at org.sikuli.script.Finder.<clinit>(Finder.java:28)

  ........ and more stuff

  java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
  /tmp/tmplib/libVisionProxy.so: libml.so.2.1: cannot open shared object
  file: No such file or directory File

  Installed Packages can be found in the attachment "packages.txt".

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/949808/+subscriptions


References