RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Fruitbox jukebox issues on older Jessie-based image

    Scheduled Pinned Locked Moved Help and Support
    fruitboxretropie 4.3.11jessiebustershared library
    5 Posts 2 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      EVEGames
      last edited by

      Hello,
      I have installed Fruitbox jukebox software on my Pi, but I am receiving error messages when trying to run the software.

      Hardware and Software details:
      Pi Model or other hardware: 3B+ Rev 1.2
      RetroPie Version Used: 4.3.11
      Operating System: Raspbian GNU/Linux 8 (jessie)
      Built From: Raw SD Image on RetroPie website, and built up from there over the last couple years.
      USB Devices connected: Keyboard, dual zero delay encoders

      The Fruitbox Readme suggests that the user start on a fresh v10 Buster install, but I am looking to install it on an older Jessie based image.
      I suspect others, who are looking to add this Jukebox software to their existing RetroPie rig, might be struggling with these same issues.

      Note that I did start at the source, asking the author for help directly through Github.
      He advised, "Just install a fresh buster release and it should work."

      After installing the software:

      wget https://github.com/chundermike/rpi-fruitbox/raw/master/install.sh
      chmod +x ./install.sh
      source ./install.sh

      You end up in the Fruitbox root directory:

      ~/rpi-fruitbox-master

      And to test your installation, you can invoke the software with no arguments:

      ./fruitbox

      The error I received was:

      ./fruitbox: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory

      I was able to resolve this issue by installing the missing library:

      wget https://cfhcable.dl.sourceforge.net/project/libpng/libpng16/1.6.34/libpng-1.6.34.tar.xz
      tar xf libpng-1.6.34.tar.xz
      cd libpng-1.6.34/
      ./configure
      sudo make check
      sudo make install
      sudo ldconfig

      The next time I ran, I received the following errors:

      ./fruitbox: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version CXXABI_1.3.9' not found (required by ./fruitbox) ./fruitbox: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.22' not found (required by ./fruitbox)
      ./fruitbox: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version GLIBCXX_3.4.21' not found (required by ./fruitbox) ./fruitbox: /lib/arm-linux-gnueabihf/libc.so.6: version GLIBC_2.28' not found (required by ./fruitbox)

      At this point, my Google skills are failing me, and I am unable to get past the issue.
      I went as far as to update my operating system overnight from jessie to stretch (still one version behind the recommended buster version).
      This resulted in the clobbering of most of my custom software tweaks, and still Fruitbox threw errors. So I fell back to my latest jessie-based image, and here I am.

      Any assistance would be GREATLY appreciated.
      -Dave

      1 Reply Last reply Reply Quote 0
      • Z
        zerojay
        last edited by

        I believe the library is now just libpng on buster and you'll likely need to recompile fruitbox for it to work which is why it cannot resolve it's libraries.

        E 1 Reply Last reply Reply Quote 0
        • E
          EVEGames @zerojay
          last edited by

          @zerojay
          Thank you very much, I got similar advice back on the Fruitbox github page. It seems that there are a couple options - recompile the latest version on Jessie, or make use of an older build which is already Jessie based. Here's the quote from Fruitbox's author:

          FYI you can always build a Jessie version yourself...just follow the instructions in the build.txt file in the directory. Alternatively if you don't want the latest release, there's a Jessie version already on GitHub.

          I'm going to pursue both of those options and report back here shortly.
          Thanks!

          Z 1 Reply Last reply Reply Quote 0
          • Z
            zerojay @EVEGames
            last edited by

            @EVEGames said in Fruitbox jukebox issues on older Jessie-based image:

            @zerojay
            Thank you very much, I got similar advice back on the Fruitbox github page. It seems that there are a couple options - recompile the latest version on Jessie, or make use of an older build which is already Jessie based. Here's the quote from Fruitbox's author:

            FYI you can always build a Jessie version yourself...just follow the instructions in the build.txt file in the directory. Alternatively if you don't want the latest release, there's a Jessie version already on GitHub.

            I'm going to pursue both of those options and report back here shortly.
            Thanks!

            You can also look into building a statically linked version of the fruitbox executable which means that all the libraries needed are compiled into the executable directly which means you won't need to worry about what version of the libraries are installed as you will have all you need already built-in. It means a larger executable but worth it for your use case.

            1 Reply Last reply Reply Quote 0
            • E
              EVEGames
              last edited by

              Got it all sorted out.
              Fruitbox running smoothly on a Jessie-based RetroPie image, straight from the EmulationStation main menu.
              And I wrote a how-to, so you can too.
              https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=188723&start=1594
              Thanks much for the input @zerojay , it got me pointed in the right direction!

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.