I have a OpenSUSE 15.0 up to date, and the science repo.
When i try to install scilab, i have the error :
zypper in scilab
Loading repository data…
Reading installed packages…
Resolving package dependencies…
Problem: nothing provides hdf5 = 1.10.3 needed by scilab-6.0.1-lp150.78.1.x86_64
Solution 1: do not install scilab-6.0.1-lp150.78.1.x86_64
Solution 2: break scilab-6.0.1-lp150.78.1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
Is there a way to correct this ? I can use the second option, adn the install goes well but … i use a script install for a large number of computers, and i can’t find a way to say to zypper to auto-choose the second answer.
erlangen:~ # zypper se --installed-only hdf5
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
---+----------------------+-----------------------------------------------------------------+--------
i | hdf5 | Command-line programs for the HDF5 scientific data format | package
i | libhdf5-103 | Shared libraries for the HDF5 scientific data format | package
i | libhdf5_cpp103 | Shared libraries for the HDF5 scientific data format | package
i | libhdf5_fortran100 | Shared libraries for the HDF5 scientific data format | package
i+ | libhdf5_hl100 | High-level shared libraries for the HDF5 scientific data format | package
i | libhdf5_hl_cpp100 | High-level shared libraries for the HDF5 scientific data format | package
i | libhdf5hl_fortran100 | High-level shared libraries for the HDF5 scientific data format | package
erlangen:~ #
You’ll have to determine if the libraries are available or not,
Keeping in min that sometimes manifest is looking for a package name which may be incorrect instead of the actual file name.
Also, you can script your zypper install so that it’s unattended and will automatically proceed regardless of possible conflicts… See the zypper MAN file and I also implement this in my Wiki… Take a look at my script that inspects the system whether it’s Tumbleweed or LEAP and then adds repos and installs packages appropriately.
Could not access to the Main Scilab Class:
Exception in thread "main" java.io.IOException: Error NoSuchFieldException, could not add path to java.library.path
at org.scilab.modules.jvm.LibraryPath.addPath(Unknown Source)
Could not create a Scilab main class. Error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen2-rt in java.library.path: [/usr/lib64/scilab]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2660)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:827)
at java.base/java.lang.System.loadLibrary(System.java:1902)
at org.scilab.modules.gui.SwingView.<clinit>(Unknown Source)
at org.scilab.modules.core.Scilab.<init>(Unknown Source)
Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).