sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #28196
[Question #254394]: No valid libs path available until now... Which variable should I use?
New question #254394 on Sikuli:
https://answers.launchpad.net/sikuli/+question/254394
Hi,
I am new to SikuliX and I cannot install the latest Sikulix. It always ends with an error. I trying the SikuliX built today 2014-09-12 sikulixsetup-1.1.0. The problem according to the log is that libVisionProxy cannot find its dependencies to libopencv_core.so.2.3
The system I am running is Ubuntu 14.04 LTS and I have libopencv-core2.4 installed.
I have read that I need to buil libVisionProxy myself so I downloaded the SikuliX-1.1.0-Beta-Supplemental-Linux.zip and run it according to the instructions and the build of my own libVisionProxy was successful. I have placed this lib in /usr/lib
I have set the env variable LD_LIBRARY_PATH=/usr/lib prior running the sikulixsetup-1.1.0.jar
I run the setup with the following commands
$>export LD_LIBRARY_PATH=/usr/lib
$>java -jar sikulixsetup-1.1.0.jar
And I check that I have the native libraries in system path.
Now the actual question. What env parameter should I use to get sikulixsetup to find my libVisionProxy in /usr/lib
I check for option 1 and it is in run from an empty directory.
Probably a minor but I cannot get it to work.
BR
Kristian
This is the SikuliX-1.1.0-SetupLog.txt
[debug (9/12/14 3:05:47 PM)] Debug: setLogFile: /home/krgus1/devel/programs/sikulix1.1.0/SikuliX-1.1.0-SetupLog.txt
[debug (9/12/14 3:05:47 PM)] RunSetup: ... starting with no args given
[debug (9/12/14 3:05:47 PM)] RunSetup: Setup in: /home/krgus1/devel/programs/sikulix1.1.0
using: /home/krgus1/devel/programs/sikulix1.1.0/sikulixsetup-1.1.0.jar
[debug (9/12/14 3:05:47 PM)] RunSetup: SikuliX Setup Build: 1.1.0 2014-09-12_01:00nightly
[debug (9/12/14 3:05:47 PM)] RunSetup:
popInfo: --------------------
Please read carefully before proceeding!!
--------------------
[debug (9/12/14 3:05:48 PM)] RunSetup: RunningSystem: Linux 3.13.0-24-generic
[debug (9/12/14 3:05:48 PM)] RunSetup: parent of jar/classes: /home/krgus1/devel/programs/sikulix1.1.0
[debug (9/12/14 3:05:48 PM)] RunSetup: RunningJava: Java 7 (i386) 1.7.0_65-b32
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="AT_SAVE_CLEAN_BUNDLE" value="true"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="AT_SAVE_MAKE_HTML" value="true"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="AUTO_CAPTURE_FOR_CMD_BUTTONS" value="1"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="AUTO_NAMING" value="0"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="CAPTURE_DELAY" value="1.0"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="CAPTURE_HOTKEY" value="50"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="CAPTURE_HOTKEY_MODIFIERS" value="3"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="CHECK_UPDATE" value="false"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="CONSOLE_CSS" value="body { font-family:serif; font-size: 12px; }.normal{ color: black; }.debug { color:#505000; }.info { color: blue; }.log { color: #09806A; }.error { color: red; }"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="DEFAULT_THUMB_HEIGHT" value="50"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="EXPAND_TAB" value="true"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="FONT_NAME" value="Monospaced"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="FONT_SIZE" value="14"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="IDE_LOCATION" value="840,68"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="IDE_SESSION" value=""/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="IDE_SIZE" value="1645x1297"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="LAST_CHECK_UPDATE" value="1410244272054"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="LAST_OPEN_DIR" value="/home/krgus1/devel/sikuliscript"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="LAST_SEEN_UPDATE" value="0.0.0"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="LOCALE" value="en_US"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_COMMAND_BAR" value="1"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_HIGHLIGHT" value="false"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_IMAGES" value="false"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_IMAGES_PATH" value=""/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_LOG_ACTIONS" value="true"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_LOG_INFO" value="true"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_MESSAGE" value="0"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_RUN_SAVE" value="false"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_TEXT_OCR" value="false"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="PREF_MORE_TEXT_SEARCH" value="false"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="STOP_HOTKEY" value="67"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="STOP_HOTKEY_MODIFIERS" value="9"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="TAB_WIDTH" value="4"/>
[debug (9/12/14 3:05:52 PM)] RunSetup: main: Prefs: <entry key="USER_TYPE" value="0"/>
[debug (9/12/14 3:05:52 PM)] FileManager: deleteFileOrFolder: /home/krgus1/devel/programs/sikulix1.1.0/SikuliPrefs.txt
[debug (9/12/14 3:05:52 PM)] RunSetup:
popAsk: --------------------
The following file(s) will be downloaded to
/home/krgus1/devel/programs/sikulix1.1.0
--- Package 1 ---
1.1.0-1.jar (IDE/Scripting)
- with Jython
Only click NO, if you want to terminate setup now!
Click YES even if you want to use local copies in Downloads!
--------------------
[debug (9/12/14 3:05:55 PM)] FileManager: Downloading 1.1.0-1.jar having 3797 KB
[debug (9/12/14 3:05:58 PM)] FileManager: downloaded 3797 KB to /home/krgus1/devel/programs/sikulix1.1.0/Downloads/1.1.0-1.jar
[debug (9/12/14 3:05:58 PM)] FileManager: download time: 3
[debug (9/12/14 3:06:01 PM)] RunSetup: main: Copied from Downloads: 1.1.0-1.jar
[debug (9/12/14 3:06:02 PM)] FileManager: Downloading 1.1.0-4.jar having 23224 KB
[debug (9/12/14 3:06:27 PM)] FileManager: downloaded 23224 KB to /home/krgus1/devel/programs/sikulix1.1.0/Downloads/1.1.0-4.jar
[debug (9/12/14 3:06:27 PM)] FileManager: download time: 25
[debug (9/12/14 3:06:31 PM)] RunSetup: main: Copied from Downloads: 1.1.0-4.jar
[debug (9/12/14 3:06:31 PM)] RunSetup: Download ended
[debug (9/12/14 3:06:31 PM)] RunSetup: Downloads for selected options:
1.1.0-1.jar 1.1.0-4.jar
[debug (9/12/14 3:06:31 PM)] RunSetup: Download page: http://nightly.sikuli.de/
[debug (9/12/14 3:06:31 PM)] RunSetup:
popAsk: --------------------
If you have provided your own builds
of the native libraries in the system paths:
Click YES if you did (be sure, they are there)
Click NO to pack the bundled libs to the jars.
--------------------
[debug (9/12/14 3:06:39 PM)] RunSetup: adding needed stuff to sikulix.jar
[debug (9/12/14 3:06:39 PM)] FileManager: buildJar: /home/krgus1/devel/programs/sikulix1.1.0/sikulixtemp.jar
[debug (9/12/14 3:06:39 PM)] FileManager: buildJar: adding: /home/krgus1/devel/programs/sikulix1.1.0/sikulix.jar
[debug (9/12/14 3:06:40 PM)] FileManager: buildJar: adding: /home/krgus1/devel/programs/sikulix1.1.0/sikulixsetup-1.1.0.jar
[debug (9/12/14 3:06:41 PM)] FileManager: buildJar: adding: /home/krgus1/devel/programs/sikulix1.1.0/sikulixjython.jar
[debug (9/12/14 3:06:49 PM)] FileManager: buildJar: completed
[debug (9/12/14 3:06:49 PM)] RunSetup: trying to remove temp files
[debug (9/12/14 3:06:49 PM)] FileManager: deleteFileOrFolder: /home/krgus1/devel/programs/sikulix1.1.0/sikulix.jar
[debug (9/12/14 3:06:49 PM)] ResourceLoader: SikuliX Package Build: 1.1.0 2014-09-12_01:00nightly
[debug (9/12/14 3:06:49 PM)] RunSetup: exporting commandfiles
[debug (9/12/14 3:06:49 PM)] ResourceLoader: export: Trying to access package for exporting: Commands/linux#runsikulix
to: /home/krgus1/devel/programs/sikulix1.1.0
[debug (9/12/14 3:06:49 PM)] ResourceLoader: export: from: /home/krgus1/devel/programs/sikulix1.1.0/sikulixsetup-1.1.0.jar
[debug (9/12/14 3:06:50 PM)] ResourceLoader: export: Found 1 Files in Commands/linux/runsikulix
[debug (9/12/14 3:06:50 PM)] ResourceLoader: runcmd: chmod ugo+x /home/krgus1/devel/programs/sikulix1.1.0/runsikulix
[info (9/12/14 3:06:50 PM)] runcmd: chmod ugo+x /home/krgus1/devel/programs/sikulix1.1.0/runsikulix
[debug (9/12/14 3:06:50 PM)] ResourceLoader: runcmd: chmod ugo+x /home/krgus1/devel/programs/sikulix1.1.0/sikulix.jar
[info (9/12/14 3:06:50 PM)] runcmd: chmod ugo+x /home/krgus1/devel/programs/sikulix1.1.0/sikulix.jar
[debug (9/12/14 3:06:52 PM)] RunSetup: trying to set up the environment
[debug (9/12/14 3:06:52 PM)] ResourceLoader: check: we are running on arch: i386
[debug (9/12/14 3:06:52 PM)] ResourceLoader: check: using Java at: /usr/lib/jvm/java-7-openjdk-i386/jre/
[error (9/12/14 3:06:52 PM)] ResourceLoader: check: No valid libs path available until now!
[log (9/12/14 3:06:52 PM)] ResourceLoader: check: Please wait! Trying to extract libs to jar parent folder:
/home/krgus1/devel/programs/sikulix1.1.0/
[debug (9/12/14 3:06:52 PM)] ResourceLoader: extractLibs: from: /home/krgus1/devel/programs/sikulix1.1.0/sikulixsetup-1.1.0.jar
[debug (9/12/14 3:06:53 PM)] ResourceLoader: extractLibs: Found 3 Files in META-INF/libs/linux/libs32/
[debug (9/12/14 3:06:53 PM)] ResourceLoader: checkLibsDir: trying: /home/krgus1/devel/programs/sikulix1.1.0/libs
[error (9/12/14 3:06:53 PM)] ResourceLoader: loadLib: Fatal Error 110: loading: libVisionProxy.so
[error (9/12/14 3:06:53 PM)] ResourceLoader: loadLib: Since native library was found at /home/krgus1/devel/programs/sikulix1.1.0/libs
it might be a problem with needed dependent libraries
ERROR: /home/krgus1/devel/programs/sikulix1.1.0/libs/libVisionProxy.so: libopencv_core.so.2.3: cannot open shared object file: No such file or directory
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.