No valid libs path available until now... Which variable should I use?

Asked by KG

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

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

Sorry, for this misleading popup.
No matter what you say, it will not change anything currently.
(I will disable it for now or fix it somehow)

how to:
- just let run setup towards the library error and let it finish.
- replace the libVisionProxy.so in libs with your version
- use, what you have setup

keep a copy of your libVisionProxy.so in a safe place (not somewhere on loader path), because when you repeat setup, the libVisionProxy.so from the jar might again be overwritten with the export from the jar.

Revision history for this message
KG (kristian-gustafsson) said :
#2

Great start this Monday!
Thanks

BR
KG

Revision history for this message
KG (kristian-gustafsson) said :
#3

Thanks RaiMan, that solved my question.