Results 1 to 5 of 5

Thread: Not able to install scilab lib HDF5 version problem

  1. #1

    Exclamation Not able to install scilab lib HDF5 version problem

    Hello there,

    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.

    Have a good day,

  2. #2
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,013

    Default Re: Not able to install scilab lib HDF5 version problem

    Quote Originally Posted by jfarcy View Post
    Hello there,

    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.

    Have a good day,
    What about:

    Code:
    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:~ #
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,310
    Blog Entries
    2

    Default Re: Not able to install scilab lib HDF5 version problem

    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.

    https://en.opensuse.org/User:Tsu2/BASH_zypper

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,013

    Default scilab aborts with error

    Installed scilab:

    Code:
    erlangen:~ # zypper se --details scilab
    Loading repository data...
    Reading installed packages...
    
    S  | Name                    | Type    | Version   | Arch   | Repository
    ---+-------------------------+---------+-----------+--------+-----------
    i  | libscilab6              | package | 6.0.2-1.7 | x86_64 | repo-oss  
    i+ | scilab                  | package | 6.0.2-1.7 | x86_64 | repo-oss  
    i  | scilab-devel            | package | 6.0.2-1.7 | x86_64 | repo-oss  
    i  | scilab-lang             | package | 6.0.2-1.7 | noarch | repo-oss  
    i  | scilab-modules          | package | 6.0.2-1.7 | noarch | repo-oss  
    i  | scilab-modules-doc      | package | 6.0.2-1.7 | noarch | repo-oss  
    i  | scilab-modules-doc-lang | package | 6.0.2-1.7 | noarch | repo-oss  
       | scilab-tests            | package | 6.0.2-1.7 | noarch | repo-oss  
    erlangen:~ #
    Error encountered:
    Code:
    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).
    However scilab-6.0.2.bin.linux-x86_64.tar.gz downloaded from https://www.scilab.org/download/6.0.2 works. Any idea?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), openSUSE Tumbleweed, KDE Plasma 5

  5. #5

    Thumbs up Re: Not able to install scilab lib HDF5 version problem

    Thanks a lot @karlmistelberger,

    It worked for me too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •