Article 4SPTP Error: could not find libjava.so

Error: could not find libjava.so

by
Bad Blue Bull
from LinuxQuestions.org on (#4SPTP)
I run into this when installing mysql-workbench with sbopkg:
Code:Using bundled Antlr C runtime
[mysql] Generating parser files...
Selected MySQL parser
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
CMake Error at library/parsers/grammars/CMakeLists.txt:9 (message):
[mysql] Generating parsers files failed with result='2'I have installed JRE using this SlackBuild: https://mirrors.dotsrc.org/slackware...ava.SlackBuild
locate libjava.so gives:
Code:/usr/lib64/java/lib/amd64/libjava.so
/usr/lib64/java/jre/lib/amd64/libjava.soContent of my /etc/ld.so.conf is:
Code:/lib64
/usr/lib64
/usr/local/lib64
/usr/x86_64-slackware-linux/lib64
/usr/lib64/seamonkey
/usr/lib64/java/lib/amd64/
/usr/lib64/java/lib/amd64/jli
/usr/lib64/java/jre/lib/amd64/
/opt/kde3/lib64My path when logged as root contains /usr/lib64/java/bin and /usr/lib64/java/jre/bin and I can execute javac when logged as root or after sudo -i .
Update: I have tried to run Hello World in Java, compiled alright but same problem when run:
Quote:
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment.
latest?d=yIl2AUoC8zA latest?i=AAkIaIleMTM:PFd9YadCSjs:F7zBnMy latest?i=AAkIaIleMTM:PFd9YadCSjs:V_sGLiP latest?d=qj6IDK7rITs latest?i=AAkIaIleMTM:PFd9YadCSjs:gIN9vFwAAkIaIleMTM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments