Menu

RedHat 8.5 Error unpacking rpm package mrViewer

Bugs
2022-05-23
2022-05-24
  • Joseph Cove

    Joseph Cove - 2022-05-23

    Hi I am attempting to install this on RHEL 8.

    dnf install mrViewer-v6.1.6-Linux-64.rpm

    uname -r
    4.18.0-348.20.1.el8_5.x86_64

    I am faced with:

    Install 1 Package

    Total size: 79 M
    Installed size: 213 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
    Running scriptlet: mrViewer-6.1.6-1.x86_64 1/1
    Preparing : 1/1
    Running scriptlet: mrViewer-6.1.6-1.x86_64 1/1
    Installing : mrViewer-6.1.6-1.x86_64 1/1
    Error unpacking rpm package mrViewer-6.1.6-1.x86_64
    Errors occurred during transaction.
    Verifying : mrViewer-6.1.6-1.x86_64 1/1
    Completion plugin: Generating completion cache...
    Installed products updated.
    Failed: mrViewer-6.1.6-1.x86_64

    Failed:
    mrViewer-6.1.6-1.x86_64

    Error: Transaction failed

     
  • ggarra13

    ggarra13 - 2022-05-23

    Yes. This is a known limitation of the rpm that mrViewer ships. They are only compatible with old versions of the OS (like CentOS 7). You should use the tar.gz package for newer OS versions.

     
  • Joseph Cove

    Joseph Cove - 2022-05-23

    Thanks I will give that a try

     
  • Joseph Cove

    Joseph Cove - 2022-05-23

    Hi, I tried to launch after install.

    /repository/mrViewer-v6.1.6-Linux-64/usr/local/mrViewer-v6.1.6-Linux-64/bin

    ]# ./mrViewer.sh
    /repository/mrViewer-v6.1.6-Linux-64/usr/local/mrViewer-v6.1.6-Linux-64/bin/mrViewer: /repository/mrViewer-v6.1.6-Linux-64/usr/local/mrViewer-v6.1.6-Linux-64/lib/libp11-kit.so.0: no version information available (required by /lib64/libgnutls.so.30)
    /repository/mrViewer-v6.1.6-Linux-64/usr/local/mrViewer-v6.1.6-Linux-64/bin/mrViewer: symbol lookup error: /lib64/libgnutls.so.30: undefined symbol: asn1_der_decoding2, version LIBTASN1_0_3

    Any ideas?

     
  • ggarra13

    ggarra13 - 2022-05-23

    Yes. See the recent thread called Centos 8 Support.

    Until I release v6.1.7, you need to install a previous version of libglib-2.0 manually.

    Jedediah Smith wrote:

    Based on that info I downloaded glib2-2.56.1-7.el7.x86_64.rpm, extracted libglib-2.0.so* and added it to the /path/to/mrviewer/libs directory, and it opens and seems to work as expected.

    If you are unfamiliar with how to extract files from an rpm, I uploaded a libglib-2.0.so version to:
    https://mega.nz/file/bPQxSRAB#9UV7kMZ1A5hpX1LzpDNO1F0aGwtTj-iRUJYBWEK-O1I

    After you download it, you need to place it in the lib directory of mrViewer and in it, run:

    ln -s libglib-2.0.so.0.4002.0 libglib-2.0.so.0

     
  • Joseph Cove

    Joseph Cove - 2022-05-23

    thx so much for that, those errors are now gone, but now I have this :(

    ./mrViewer.sh

       [main] Translations: /repository/mrViewer-v6.1.6-Linux-64/usr/local/mrViewer-v6.1.6-Linux-64/share/locale
    

    Can't open display:

     
  • Joseph Cove

    Joseph Cove - 2022-05-23

    Sorry one more too.. when launching as another user
    ./mrViewer
    ./mrViewer: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory

     
    • Joseph Cove

      Joseph Cove - 2022-05-23

      please ignore. this was permissions related

       
  • ggarra13

    ggarra13 - 2022-05-23

    First, you need to always launch mrViewer with the mrViewer.sh script or else it won't find the DSO files.
    Regarding the display, that's more puzzling. What is the DISPLAY environment variable set to?
    It should be like:

    $ echo $DISPLAY
    :0

    If it is not like that, do:

    $ export DISPLAY=":0"

    or are you running it remotely or thru a VM box?

     
    • Joseph Cove

      Joseph Cove - 2022-05-23

      Hi, managed to fix my previous permissions error, and it launched just fine via remote desktop connection to the workstation.

      many thanks for your help! really really appreciate it as we have been having issues getting RV player running on RH 8.6

       
  • Joseph Cove

    Joseph Cove - 2022-05-24

    Hi I am running into an issue which I thought I had fixed.

    [oskaru@machine10 root]$ /usr/local/mrViewer-v6.1.6-Linux-64/bin/mrViewer.sh
    /usr/local/mrViewer-v6.1.6-Linux-64/bin/mrViewer: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory

    I can locate these files as this user and ls th files no problem. But just cannot launch mrViewer.

    regards,

     
  • ggarra13

    ggarra13 - 2022-05-24

    What are the permissions on the file? Make sure the file is readable for all users. Do:

    $ ls -l /usr/local/mrViewer-v6.1.6-Linux-64/lib/libavcodec.so.58*
    lrwxrwxrwx 1 root root 24 abr 27 15:02 /usr/local/mrViewer-v6.1.6-Linux-64/lib/libavcodec.so.58 -> libavcodec.so.58.134.100
    -rwxr-xr-x 1 root root 13360256 abr 27 15:02 /usr/local/mrViewer-v6.1.6-Linux-64/lib/libavcodec.so.58.134.100

    If you cannot run it with mrViewer.sh (very rare and fishy but since you are running it as root...), try running it manually, with:

    $ export LD_LIBRARY_PATH=/usr/local/mrViewer-v6.1.6-Linux-64/lib
    $ /usr/local/mrViewer-v6.1.6-Linux-64/bin/mrViewer

     

Log in to post a comment.