
On Mon, 19 Oct 2015 17:43, Peter Ragosch <peter.ragosch@...> wrote:
I have installed current package Scilab[1] on openSuSE 13.2 x86_64.
Running scilab I got following error message
peter@raven:~> scilab XineramaGetLibHandle: using lib libXinerama.so.1 -> 0x1333060 XineramaGetQueryFunc: trying func 0x1333060 -> XineramaIsActive XineramaGetQueryFunc: got func 0x7f8eacb5b2a0 XineramaIsEnabled: has Xinerama Ext: ext 1, query-func 0x7f8eacb5b2a0
(scilab-bin:26131): Pango-WARNING **: /usr/lib/pango/1.8.0/modules/pango-basic-fc.so: falsche ELF-Klasse: ELFCLASS32 /usr/bin/scilab: Zeile 928: 26131 Speicherzugriffsfehler "$SCILABBIN" "$@" peter@raven:~>
where "falsche ELF-Klasse" means wrong ELF-class "Speicherzugriffsfehler" means segmentation fault
Now running
peter@raven:~> ldd /usr/bin/scilab-bin libjava.so => not found libverify.so => not found libjvm.so => not found
shows that three libraries could not be found, whereat all other libraries were found.
The missing libraries are available at
/usr/java/jre1.8.0_60/lib/amd64/libjava.so /usr/java/jre1.8.0_60/lib/amd64/libverify.so /usr/java/jre1.8.0_60/lib/amd64/server/libjvm.so
Any advice or suggestions how to solve the problem would be appreciated.
Oracle Java, I presume, right? Well, for these at least the help is easy. In your dir: /usr/java/ there should be a symbolic link named "jre" , or "jre1.8.0" pointing to "jre1.8.0_60" with the help of this link it is easy to create a small file in /etc/ld.so.conf.d/ that contains the neccessary info: e.g. for link "/usr/java/jre" [code file: /etc/ld.so.conf.d/oracle_java.conf] # get lib path for oracle java right /usr/java/jre/lib/amd64/ [/code] just two lines, atfer that run run "/sbin/ldconfig" as "root". Now the command "ldd /usr/bin/scilab-bin" should show the libs. Does it still break when called now? - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org