Menu

Fedora install issue

Bugs
Michel
2021-07-28
2022-07-04
  • Michel

    Michel - 2021-07-28

    I am having issues to install mrViewer-v5.9.2 on Fedora 34

    -sudo rpm -Uvh ./mrViewer-v5.9.2-Linux-64.rpm

    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:mrViewer-5.9.2-1 ################################# [100%]
    error: unpacking of archive failed: cpio: read failed - No data available
    error: mrViewer-5.9.2-1.x86_64: install failed

    It is not the first time that this happens I had issues like this with earlier versions so I had do download and install manually.

     
  • ggarra13

    ggarra13 - 2021-07-28

    Unfortunately, the rpm is compatible only with old versions of RedHat/CentOS/Fedora. Switching to a newer version of rpmbuild fixes it, but then it becomes incompatible with the old versions and that rpmbuild is not distributed with Ubuntu 14 which is what I use to package mrViewer. So, yes, my recommendation is that you download the tar.gz and install manually. Sorry.

     
    • Michel

      Michel - 2021-07-28

      Thanks for the feedback!
      I can do manually no problem I usually don't use the last version of Fedora but I had to update because some cinnamon library issues.

      Have a great week and thanks again.

       
  • Michel

    Michel - 2022-07-02

    I am having now error if I run ./mrViewer.sh on Fedora 36

    symbol lookup error: /lib64/libfreetype.so.6: undefined symbol: hb_ot_tags_from_script_and_language

    If I try to install though rpm I also get:

    error: unpacking of archive failed: cpio: read failed - Directory not empty
    error: mrViewer-6.2.0-1.x86_64: install failed

    I also did try with ver 6.1.9 and I have the same problem.

     
  • ggarra13

    ggarra13 - 2022-07-02

    Give a try to this beta v6.2.1 version:

    https://mega.nz/file/efhCCKYb#JwwYFoBir8uu2RrIDoPJDxHQr-R3jKGzltx7ZvzXq98

    It includes its own copy of libfreetype.so.6 which seems to have broken backwards compatibility.
    Regarding the .rpm, it is a known issue. The rpm of mrViewer work only on CentOS 7, I believe, and they are not compatible with later OSes.

     
  • Michel

    Michel - 2022-07-03

    Thanks for the feedback.

    For now version 6.0.5 is working for me but those newer are not.
    I got this error now:
    usr/local/mrViewer-v6.2.1-Linux-64/bin/mrViewer: symbol lookup error: /usr/local/mrViewer-v6.2.1-Linux-64/lib/libfontconfig.so.1: undefined symbol: FT_Done_MM_Var

     

    Last edit: Michel 2022-07-03
  • ggarra13

    ggarra13 - 2022-07-03

    Did you copy libfontconfig.so.1 to the lib directory? The tar.gz file from mega.nz does not contain that file.

    Also, can you install lddtree from the app-misc/pax-utils repository?

     
  • Michel

    Michel - 2022-07-03

    "Did you copy libfontconfig.so.1 to the lib directory? The tar.gz file from mega.nz does not contain that file."
    Yes I did
    "Also, can you install lddtree from the app-misc/pax-utils repository?"
    No, never heard of this repository, but I did however install pax-utils which contains lddtree command.

    Thanks.

     

    Last edit: Michel 2022-07-03
  • ggarra13

    ggarra13 - 2022-07-03

    Okay. Don't copy any files.

    pax-utils is not a repository but a package. Sorry for the confusion. You should be able to download it and install it like you do other rpms.

    https://rpmfind.net/linux/rpm2html/search.php?query=pax-utils

     
  • ggarra13

    ggarra13 - 2022-07-03

    Okay, on a fresh v6.2.1, try the following.

    $ cd /location/of/mrViewer/lib
    $ rm libfreetype*
    $ rm libharfbuzz*
    $ rm libfontconfig*  # just in case you left it there
    

    Try running mrViewer.sh.

     

    Last edit: ggarra13 2022-07-03
  • Michel

    Michel - 2022-07-04

    It worked, Thank you so much!
    I was hoping that maybe in the future the installation could be more compatible with newer systems which would be awesome.

    Cheers!

     

Log in to post a comment.