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

    Apple2e: AppleWin Libretro

    Scheduled Pinned Locked Moved Help and Support
    apple 2
    37 Posts 4 Posters 4.3k 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.
    • F
      Folly @Retrodade
      last edited by

      @Retrodade said in Apple2e: AppleWin Libretro:

      Error(s): libslirp.so.0: cannot open shared object file: No such file or directory

      You are missing a dependency.
      Try to install it manually from the cli and see if it works :

      sudo apt install libslirp-dev
      

      Or add it to the modulescript in lr-applewin.sh in the function depends and reinstall the core again.

      ExarKunIvE LolonoisL 2 Replies Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @Folly
        last edited by ExarKunIv

        @Folly its odd that its missing
        the script builds it from source

        gitPullOrClone $md_build/../libslirp https://gitlab.freedesktop.org/slirp/libslirp.git

        UPDATE

        yes something it broken, not sure where, yet
        the script does build libslirp from source and does install it
        i can do a file search and its there, libslirp.so.0

        i dont know why its not being found maybe @Lolonois can shed some light on this one
        im trying a older commit to see if the dev changed something

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        R 1 Reply Last reply Reply Quote 0
        • R
          Retrodade @ExarKunIv
          last edited by

          @ExarKunIv ok great i did try the 2 methods above and it wouldn't add it

          first I tried this way.

          pi@retropie:~ $ sudo apt install libslirp-dev
          Reading package lists... Done

          Building dependency tree

          Reading state information... Done

          E: Unable to locate package libslirp-dev

          then I tried adding it in the sh

          Installing dependencies for 'Ir-applewin' : AppleZe emulator: AppleWin (current) port fox
          Did not find needed dependencies: libslirp-deu. Trying to install them now.
          Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
          Get:2 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
          Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
          Get:4 http://archive.raspberrypi.org/debian buster/main armhf Packages [400 kB]
          Fetched 13.5 MB in 8s (1,677 kB/s)
          Reading package lists...
          Reading package lists...
          Building dependency tree...
          Reading state information...
          E: Unable to locate package libsl irp-deu
          Could not install package(s): libsl irp-deu.

          1 Reply Last reply Reply Quote 0
          • LolonoisL
            Lolonois @Retrodade
            last edited by

            @Retrodade said in Apple2e: AppleWin Libretro:

            [INFO] RetroArch 1.8.5 (Git 8bcd74b)

            As I mentioned already in another thread: With this outdated version you are on your own (v1.8.5 was added at 2020-04-17 to RetroPie).

            Currently RetroPie is on retroarch v1.16.0, I tested lr-applewin with retroarch v1.12 onwards.

            1 Reply Last reply Reply Quote 0
            • LolonoisL
              Lolonois @Folly
              last edited by

              @Folly on RetroPie on RaspiOS Buster this lib is not available as package. There is a reason I added the source build ;-) Please avoid hinting less experienced users in the wrong direction.

              F 1 Reply Last reply Reply Quote 0
              • LolonoisL
                Lolonois
                last edited by Lolonois

                @ExarKunIv I'd like to challenge that the scriptmodule is wrong/outdated.

                I had no luck to reproduce the missing libslirp dependency.

                I have tested with RP 4.8.6 (commit 656a478e):

                • Explicitly deleted the libslirp installation from /usr/local/lib/arm-linux-gnueabihf/ and /usr/local/lib/arm-linux-gnueabihf/pkgconfig
                • I have taken the scriptmodule as in the latest revision in the gist
                • I tried with the dialog basesd retropie-setup.sh and as well with retropie-packages.sh lr-applewin

                No issues.

                Can you provide a build log of lr-applewin from ~/RetroPie-Setup/logs/rps...gz via pastebin or similar?

                Do you have the *.so files and symlinks in /usr/local/lib/arm-linux-gnueabihf/ after the scriptmodule did run?

                Does ldd find libslirp? Issue: ldd /opt/retropie/libretrocores/lr-applewin/applewin_libretro.so | grep slirp, it should give you one match.

                If there is no match. What is the content of the file/is this file below present?

                $ cat /etc/ld.so.conf.d/arm-linux-gnueabihf.conf 
                # Multiarch support
                /usr/local/lib/arm-linux-gnueabihf   # <--- this must be there
                /lib/arm-linux-gnueabihf
                /usr/lib/arm-linux-gnueabihf
                

                If it (=the marked line above) is there, do update the library dependency cache with sudo ldconfig -v | grep slirp. You should see a line like

                [...]
                	libslirp.so.0 -> libslirp.so.0.4.0
                [...]
                

                Then check again: Does ldd find libslirp? (see above)

                ExarKunIvE 2 Replies Last reply Reply Quote 1
                • F
                  Folly @Lolonois
                  last edited by

                  @Lolonois said in Apple2e: AppleWin Libretro:

                  Please avoid hinting less experienced users in the wrong direction.

                  With the information I had it was the most obvious hint.

                  1 Reply Last reply Reply Quote 0
                  • ExarKunIvE
                    ExarKunIv @Lolonois
                    last edited by

                    @Lolonois said in Apple2e: AppleWin Libretro:

                    Do you have the *.so files and symlinks in /usr/local/lib/arm-linux-gnueabihf/ after the scriptmodule did run?

                    I know it installed that just fine for me on my test setup. I'll have to check the symlinks

                    But it end up giving the same error as reteodade

                    I already have it working on my main system. But that was done awhile ago. But I'm going to compare that with my test setup on Monday

                    I find it odd that a few other people are having issues. But you aren't. And I have 1 system that's fine and 1 that's not working

                    RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                    RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                    Maintainer of RetroPie-Extra .

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      Retrodade @ExarKunIv
                      last edited by

                      @ExarKunIv does this mean I have possible hope getting it running on our pi4?
                      thanks for looking at our error log btw

                      1 Reply Last reply Reply Quote 0
                      • ExarKunIvE
                        ExarKunIv @Lolonois
                        last edited by

                        @Lolonois got to love linux.
                        so i did a clean load to start all my comparing and what not.
                        and now it works just fine.
                        even though on friday even with a fresh and updated RP it would not start a game

                        as you said. you need to update the RP script and update everything.

                        i did a fresh load and with out updating it didn't work ( as you said it wouldn't) then i updated everything to the same commit that you did and it worked just fine after that. No error

                        so i did a new card and fresh image
                        this time i just updated retroarch, that didn't work. (was not expecting it too)
                        did a full update and like before it now works

                        So i agree, it is working as it is designed, why it didnt work before for me. i will never know

                        @Retrodade sorry, as

                        @Lolonois said in Apple2e: AppleWin Libretro:

                        [INFO] RetroArch 1.8.5 (Git 8bcd74b)
                        

                        As I mentioned already in another thread: With this outdated version you are on your own (v1.8.5 was added at 2020-04-17 to RetroPie).

                        Currently RetroPie is on retroarch v1.16.0, I tested lr-applewin with retroarch v1.12 onwards.

                        theres not much I and @Lolonois can do.

                        the only thing i can say if you want to get applewin to work. you will have to update your system.
                        as i said above, updating retroarch to the latest which it 1.16.0 will not make it work. you need to the main Retropuie system files also

                        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                        Maintainer of RetroPie-Extra .

                        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.