Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Need help with a numerical analysis application

  1. #1

    Default Need help with a numerical analysis application

    The application is Scilab. Has anyone used it?

    Anyway, I tried to install an ATOMS module, SIVP, by using "atomsInstall('SIVP')", and got this on Scilab's console:
    Code:
    SIVP - Scilab Image and Video Processing Toolbox
        Load macros
        Load gateways
    atomsLoad: An error occurred while loading 'SIVP-0.5.3.1-2':
        link: The shared archive was not loaded: libbz2.so.1.0: cannot open shared object file: No such file or directory
    Already asked on Scilab's forums, and it seems everyone is just playing fools there, and I really don't know why.

    So I came here in hopes of finding someone who would know. I'm using obviously the 64 bit version of Scilab 5.4.0.
    Any idea? Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Rural Australia
    Posts
    289

    Default Re: Need help with a numerical analysis application

    BTW am NON-Technical user who little understands what am doing....




    The part not loaded : libbz2.so.1.0

    seems part of the bzip2 runtime library package,

    assume libbz2-1 not installed so install it and try ?




    Code:
    linux-bnn6:~ # find /  | grep -i 'libbz2'
    /usr/lib64/libbz2.so.1.0.6
    /usr/lib64/libbz2.so.1
    linux-bnn6:~ # whereis  libbz2.so.1
    libbz2.so: /usr/lib64/libbz2.so.1
    linux-bnn6:~ # rpm -ql libbz2-1 
    /usr/lib64/libbz2.so.1
    /usr/lib64/libbz2.so.1.0.6
    linux-bnn6:~ # zypper se libbz2-1 
    Loading repository data...
    Reading installed packages...
    
    S | Name           | Summary                   | Type   
    --+----------------+---------------------------+--------
    i | libbz2-1       | The bzip2 runtime library | package
      | libbz2-1-32bit | The bzip2 runtime library | package
    linux-bnn6:~ #

  3. #3

    Default Re: Need help with a numerical analysis application

    Checked and it's indeed installed.
    Oh, received a PM on Scilab forums telling that this is a known issue.... Guess it's an innate bug of Scilab.... Heck the devs...

    Anyway, thank you very much.

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,754
    Blog Entries
    3

    Default Re: Need help with a numerical analysis application

    I'm partly guessing here. I'm not familiar with the software you are installing.

    I would guess that you need to install "libbz2-devel".
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5

    Default Re: Need help with a numerical analysis application

    Quote Originally Posted by F_style View Post
    Code:
    SIVP - Scilab Image and Video Processing Toolbox
        Load macros
        Load gateways
    atomsLoad: An error occurred while loading 'SIVP-0.5.3.1-2':
        link: The shared archive was not loaded: libbz2.so.1.0: cannot open shared object file: No such file or directory
    Since the libbz2 package only contains /usr/lib64/libbz2.so.1.0.6 and /usr/lib64/libbz2.so.1, you could create a symlink and it should work then:
    Code:
    sudo ln -s /usr/lib64/libbz2.so.1 /usr/lib64/libbz2.so.1.0
    I'm assuming here that you have a 64bit system. If you are running on 32bit then please exchange "lib64" with "lib"...

  6. #6

    Default Re: Need help with a numerical analysis application

    1. Which one should I link, libbz2.so.1 or libbz2.so.1.0.6?

    2. If that doesn't work, how do I remove the symbolic link? This kind of process is 100% reversible, isn't it?

  7. #7
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,754
    Blog Entries
    3

    Default Re: Need help with a numerical analysis application

    Quote Originally Posted by F_style View Post
    1. Which one should I link, libbz2.so.1 or libbz2.so.1.0.6?

    2. If that doesn't work, how do I remove the symbolic link? This kind of process is 100% reversible, isn't it?
    I'm pretty sure that the standard versioning of dynamic libraries goes something like this:

    libxyz.so --> libxyz.so.1
    libxyz.so.1 --> libxyz.so.1.5
    libxyz.so.1.5 --> libxyz.so.1.5.4 (for multiple version levels).

    The link editor knows how to use this. What you are installing probably includes some object files that are being linked.

    The development package, "libbz2-devel" very likely has the full set of symlinks for the libbz2 libraries, as well as the header files. That's why I suggest you install that and see if it solves your problem.

    You can remove a symlink with the "rm" command.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  8. #8
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,144

    Default Re: Need help with a numerical analysis application

    Quote Originally Posted by F_style View Post
    1. Which one should I link, libbz2.so.1 or libbz2.so.1.0.6?
    It does not really matter, but:
    Code:
    # l  /usr/lib64/libbz2.so*
    lrwxrwxrwx 1 root root    15 Feb  8 20:53 /usr/lib64/libbz2.so.1 -> libbz2.so.1.0.6*
    -rwxr-xr-x 1 root root 62928 Jan 26 22:34 /usr/lib64/libbz2.so.1.0.6*
    As libbz2.so.1 is a symlink to libbz2.so.1.0.6, and my personal inclination would be
    Code:
    >  sudo ln -s /usr/lib64/libbz2.so.1.0.6  /usr/lib64/libbz2.so.1.0
    2. If that doesn't work, how do I remove the symbolic link? This kind of process is 100% reversible, isn't it?
    Code:
    >  sudo rm  /usr/lib64/libbz2.so.1.0

  9. #9

    Default Re: Need help with a numerical analysis application

    Thanks for your help. Things seem to progress a bit.

    First created the symlink, then Scilab asked me for libpng12.so.0, so I just installed libpng12-0. Then it's asking for libtiff.so.4, but the only one seemingly available is libtiff.so.5, which I have already installed.

    What do I do now? If I symlink both libraries I'm afraid there will be version incompatibilities!

  10. #10
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: Need help with a numerical analysis application

    You can try a symlink /usr/lib64/libtiff.so.4 -> /usr/lib64/libtiff.so.5
    and just see if it works.
    It is an ugly hack as there is guaranteed compatibility when the version
    number changes after the .so (that is one reason it is different) but
    sometimes such ugly hacks just work.
    The clean solution would be to file a bug against the SIVP atom, if you
    can find out where it should be filed for an atom.

    --
    PC: oS 12.3 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.10.2 | GTX 650 Ti
    ThinkPad E320: oS 12.3 x86_64 | i3@2.30GHz | 8GB | KDE 4.10.2 | HD 3000
    HannsBook: oS 12.3 x86_64 | SU4100@1.3GHz | 2GB | KDE 4.10.2 | GMA4500

Page 1 of 3 123 LastLast

Posting Permissions

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