You are not logged in.

#1 2011-09-18 22:08:31

usuario1986
Member
Registered: 2010-11-26
Posts: 9

[SOLVED] Installed Scilab, can't use Xcos

Hello.
I have installed Scilab with a regular pacman -S.
I can start Scilab and use its main functions. But when I try to use Xcos, I get this message:

Scilab wrote:

java.lang.UnsatisfiedLinkError: /usr/lib/libjhdf5.so: libhdf5.so.6: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio (that's in english something like: can't open file or directory, because it doesn't exist)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
    at java.lang.Runtime.loadLibrary0(Runtime.java:845)
    at java.lang.System.loadLibrary(System.java:1084)
    at ncsa.hdf.hdf5lib.H5.loadH5Lib(H5.java:289)
    at ncsa.hdf.hdf5lib.H5.<clinit>(H5.java:225)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.scilab.modules.xcos.Xcos.checkDependencies(Unknown Source)
    at org.scilab.modules.xcos.Xcos.<init>(Unknown Source)
    at org.scilab.modules.xcos.Xcos.getInstance(Unknown Source)
    at org.scilab.modules.xcos.Xcos.xcos(Unknown Source)
if with_module("xcos") then xcos(); else disp(gettext("Please install xcos module.")); end
                                   !--error 999
xcos: Imposible cargar la biblioteca hdf5-java (jhdf5). (impossible to load hdf5-java library)
Se esperaba la versión [1, 8, 4] ; se obtuvo la versión [0, 0, 0] . (version [1,8,4] expected; version [0,0,0] obtained]
while executing a callback

Any ideas on the problem.
Thanks in advance.

Last edited by usuario1986 (2011-09-26 01:16:50)

Offline

#2 2011-09-18 23:02:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Installed Scilab, can't use Xcos

Please use [ code ] tags, not [ quote ] tags for posting snippets of code.

Run

LC_ALL=C <command>

to get output in English.
If you enabled C locale, it should work.


https://bugs.archlinux.org/task/24195 sounds similar to your problem.

Offline

#3 2011-09-26 01:16:21

usuario1986
Member
Registered: 2010-11-26
Posts: 9

Re: [SOLVED] Installed Scilab, can't use Xcos

Hi Karol.
I'll consider the code/quote thing next time.
As stated in the link you gave, the AUR version does work without problems, so I desisted trying to figure out what happened with the version in the repos and am now using the AUR one.
Thank you.

Offline

Board footer

Powered by FluxBB