sonik-br / GDMENUCardManager

Manage content on SD Card for Dreamcast's GDMenu
GNU General Public License v3.0
226 stars 18 forks source link

Doesn't start on nixOS #30

Open RossComputerGuy opened 2 years ago

RossComputerGuy commented 2 years ago

I downloaded v1.3.5 for Linux and ran ./GDMENUCardManager but I get bash: ./GDMENUCardManager: No such file or directory. I ran file ./GDMENUCardManager and got GDMENUCardManager: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=2ee0ad40d62097d2929eb6579b4dbe8b525bc9d7, stripped so it seems the executable doesn't work. I checked the linked libraries with ldd and it shows this:

        linux-vdso.so.1 (0x00007ffd50fdb000)
        libpthread.so.0 => /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/libpthread.so.0 (0x00007f47a3677000)
        libdl.so.2 => /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/libdl.so.2 (0x00007f47a3672000)
        libstdc++.so.6 => not found
        libm.so.6 => /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/libm.so.6 (0x00007f47a3599000)
        libgcc_s.so.1 => /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/libgcc_s.so.1 (0x00007f47a357f000)
        libc.so.6 => /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib/libc.so.6 (0x00007f47a337f000)
        /lib64/ld-linux-x86-64.so.2 => /nix/store/lyl6nysc3i3aqhj6shizjgj0ibnf1pvg-glibc-2.34-210/lib64/ld-linux-x86-64.so.2 (0x00007f47a367e000)

I haven't managed to get it to run though.

sonik-br commented 2 years ago

Hi. I have no means of testing it on linux. Only on a Ubuntu VM. Can you try to force it as an executable?

RossComputerGuy commented 2 years ago

It already is marked as a executable, and Ubuntu is Linux.

sonik-br commented 2 years ago

Yes. And it works under Ubuntu. I can only provide partial linux help as I only have access to a Ubuntu system.

megavolt85 commented 11 months ago

sudo chmod 755 GDMENUCardManager

RossComputerGuy commented 11 months ago

It's already an executable @megavolt85

megavolt85 commented 11 months ago

try with latest v2.0

megavolt85 commented 11 months ago

@RossComputerGuy, damn I just noticed libstdc++.so.6 => not found sudo apt-get install libstdc++6