← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #292408]: Error while installing Sikuli .

 

Question #292408 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/292408

Description changed to:
WHENEVER I TRY TO INSTALL SIKULI I GET THIS ERROR. (libVisionProxy.so
not usable: )

--------------------
[debug (4/26/16 1:45:37 PM)] RunSetup: 
popAsk: --------------------
You have for Linux native libs
/root/.Sikulix/SikulixDownloads_201510061722/sikulixlibslux-1.1.0.jar
Click YES, if you want to use this for setup processing
... or click NO, to ignore it and download a fresh copy
--------------------
[debug (4/26/16 1:45:42 PM)] RunSetup: Copied from Downloads: sikulixlibslux
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: addToClasspath:
file:/root/sikuli/sikulixlibslux.jar
*** classpath dump sikulix
  0: /root/sikuli/sikulixsetup-1.1.0.jar
  1: /root/sikuli/sikulixlibslux.jar
*** classpath dump end
[debug (4/26/16 1:45:42 PM)] RunSetup: checking usability of bundled/provided libs
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: exists libs folder at: /root/.Sikulix/SikulixLibs_201510061722
[error (4/26/16 1:45:42 PM)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[error (4/26/16 1:45:42 PM)] RunTimeSETUP: loadLib: libVisionProxy.so not usable: 
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[debug (4/26/16 1:45:42 PM)] LinuxSupport: we have to build libVisionProxy.so
[debug (4/26/16 1:45:42 PM)] LinuxSupport: checking: availability of OpenCV and Tesseract
[debug (4/26/16 1:45:42 PM)] LinuxSupport: checking: scanning loader cache (ldconfig -p)
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: ldconfig -p 
[debug (4/26/16 1:45:42 PM)] LinuxSupport: checking: found OpenCV libs:


[debug (4/26/16 1:45:42 PM)] LinuxSupport: checking: found Tesseract
lib:

[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: wmctrl -m 
[debug (4/26/16 1:45:42 PM)] LinuxSupport: checking: wmctrl seems to be available
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: xdotool version 
[debug (4/26/16 1:45:42 PM)] LinuxSupport: checking: xdotool seems to be available
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: starting inline build: libVisionProxy.so
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: java.home from java props: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64/jre
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: JAVA_HOME from environment: null
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: JDK: found at: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: opencv-include: not found - using the bundled include files
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: resourceList: enter
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Vision
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: resourceList: having jar: jar:file:/root/sikuli/sikulixlibslux.jar!/srcnativelibs/Vision
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: files exported: 16 from: /srcnativelibs/Vision to:
 /root/.Sikulix/sikulixlibs/linux/Build/Source
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: resourceList: enter
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /srcnativelibs/Include/OpenCV
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: resourceList: having jar: jar:file:/root/sikuli/sikulixlibslux.jar!/srcnativelibs/Include/OpenCV
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: files exported: 145 from: /srcnativelibs/Include/OpenCV to:
 /root/.Sikulix/sikulixlibs/linux/Build/Include
[debug (4/26/16 1:45:42 PM)] LinuxSupport: **** content of build script:
#jdkdir=/usr/lib/jvm/java-7-openjdk-amd64
jdkdir=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.51-1.b16.el6_7.x86_64

opencvinclude=
#opencvlib=/usr/lib/x86_64-linux-gnu
#opencvcore=$opencvlib/libopencv_core.so.2.4
opencvcore=
#opencvimgproc=$opencvlib/libopencv_imgproc.so.2.4
opencvimgproc=
#opencvhighgui=$opencvlib/libopencv_highgui.so.2.4
opencvhighgui=

tesseractinclude=
#tesseractlib=/usr/lib/libtesseract.so.3
tesseractlib=

#work=`pwd`
work=/root/.Sikulix/sikulixlibs/linux/Build
source=$work/Source
buildinclude=$work/Include
build=$work/Target
stuff=$build/Stuff
rm -R -f $build
mkdir $build
mkdir $stuff

if [ "$opencvinclude" != "" ]; then
  includeplus="-I$opencvinclude "
fi
if [ "$tesseractinclude" != "" ]; then
  includeplus="$includeplus -I$tesseractinclude "
fi
includefinal="-I/usr/include -I/usr/local/include $includeplus -I$buildinclude"

echo ----------- COMPILING
for mod in cvgui.cpp finder.cpp pyramid-template-matcher.cpp sikuli-debug.cpp \
  tessocr.cpp vision.cpp visionJAVA_wrap.cxx
do
  echo ----- $mod
  g++ -c -O3 -fPIC -MMD -MP \
    -I$jdkdir/include \
    -I$jdkdir/include/linux  \
    $includefinal \
    -MF $stuff/$mod.o.d \
    -o $stuff/$mod.o \
    $source/$mod
  mods="$mods $stuff/$mod.o "
done

echo ----------- LINKING
g++ -shared -s -fPIC -dynamic $mods \
  $opencvcore \
  $opencvimgproc \
  $opencvhighgui \
  $tesseractlib \
  -o $build/libVisionProxy.so

**** content end
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: running build script
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: /root/.Sikulix/sikulixlibs/linux/runBuild 
[debug (4/26/16 1:45:42 PM)] LinuxSupport: buildVision: checking created libVisionProxy.so
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: ldd -r /root/.Sikulix/sikulixlibs/linux/Build/Target/libVisionProxy.so 
[error (4/26/16 1:45:42 PM)] LinuxSupport: checking: might not work, has undefined symbols: libVisionProxy.so
[debug (4/26/16 1:45:42 PM)] LinuxSupport: _ZTVN2cv11_InputArrayE:
[error (4/26/16 1:45:42 PM)] LinuxSupport: ------- output of the build run
0
----------- COMPILING
----- cvgui.cpp
----- finder.cpp
----- pyramid-template-matcher.cpp
----- sikuli-debug.cpp
----- tessocr.cpp
----- vision.cpp
----- visionJAVA_wrap.cxx
----------- LINKING

[error (4/26/16 1:45:42 PM)] RunTimeSETUP: Problematic lib: /root/.Sikulix/SikulixLibs_201510061722/libVisionProxy.so (...TEMP...)
[error (4/26/16 1:45:42 PM)] RunTimeSETUP: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[error (4/26/16 1:45:42 PM)] RunTimeSETUP:  *** terminating: problem with native library: libVisionProxy.so
[debug (4/26/16 1:45:42 PM)] RunTimeSETUP: final cleanup
[debug (4/26/16 1:45:42 PM)] FileManager: deleteFileOrFolder:
/tmp/Sikulix_631920205

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.