It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hey, I'm trying to start game on linux fedora, hoping to get it workings as several other games worked on fedora.

I click the start icon and nothing happens. I go onto terminal, and do bash ./start , and below happens.

-----

[kaushan@fedora Crypt of the NecroDancer]$ bash ./start.sh
Running Crypt of the NecroDancer
./NecroDancer.sh: line 3: ./NecroDancer: No such file or directory

-----

in the /game/ directory ,
there is a NecroDancer.sh , and a file simply called NecroDancer. Trying to run NecroDancer.sh gives :

[kaushan@fedora game]$ bash NecroDancer.sh
NecroDancer.sh: line 3: ./NecroDancer: No such file or directory


-----
Trying to run NecroDancer gives :

[kaushan@fedora game]$ bash NecroDancer
NecroDancer: NecroDancer: cannot execute binary file

-----

anything I can do?
avatar
kkraltshop: [kaushan@fedora game]$ bash NecroDancer
Don't run everything explicitly in bash. If you want to start a local executable, use ./NecroDancer
avatar
kkraltshop: [kaushan@fedora game]$ bash NecroDancer
avatar
mk47at: Don't run everything explicitly in bash. If you want to start a local executable, use ./NecroDancer
I get this strange output : still says no file...


------------

[kaushan@fedora game]$ ls
data libavformat.so.53 libsamplerate.so.0 NecroDancer
essentia libavutil.so.51 libschroedinger-1.0.so.0 NecroDancer.sh
essentia-2.0.zip libfftw3f.so.3 libtag.so.1
fmod libglfw.so.2 libyaml-0.so.2
libavcodec.so.53 libgsm.so.1 license.txt

[kaushan@fedora game]$ ./NecroDancer
bash: ./NecroDancer: No such file or directory

-----------
avatar
kkraltshop:
Can you post the output of ls -l NecroDancer and ldd NecroDancer?

Edit: Are you sure that you have lib32 stuff installed?
Post edited July 28, 2022 by mk47at
avatar
kkraltshop:
avatar
mk47at: Can you post the output of ls -l NecroDancer and ldd NecroDancer?

Edit: Are you sure that you have lib32 stuff installed?
--------------

[kaushan@fedora game]$ ls -l NecroDancer
-rwxr-xr-x. 1 kaushan kaushan 5269055 Jul 25 21:03 NecroDancer
[kaushan@fedora game]$ ldd NecroDancer
not a dynamic executable

--------------

there is a ' lib ' and ' lib64 ' directory under / , but I didn't see a lib32 directory. I don't know the package name to install that either...
avatar
kkraltshop: [kaushan@fedora game]$ ls -l NecroDancer
-rwxr-xr-x. 1 kaushan kaushan 5269055 Jul 25 21:03 NecroDancer
The size seems to be correct, and the permissions are also correct.

-rwxr-xr-x 1 mk users 5269055 31. Jul 15:37 NecroDancer
avatar
kkraltshop: [kaushan@fedora game]$ ldd NecroDancer
not a dynamic executable
This seem to indicate that you do not have anything related to 32-bits installed.

What you need is (fmod, libglfw and libopenal are included :

linux-gate.so.1 (0xf7f53000)
libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7eb4000)
./fmod/lib/libfmodex.so (0xf7d2d000)
libglfw.so.2 => not found
libopenal.so.1 => not found
libogg.so.0 => /usr/lib32/libogg.so.0 (0xf7d22000)
libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf7cf4000)
libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf7cef000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf7a00000)
libm.so.6 => /usr/lib32/libm.so.6 (0xf792f000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7cc8000)
libc.so.6 => /usr/lib32/libc.so.6 (0xf7600000)
libGLdispatch.so.0 => /usr/lib32/libGLdispatch.so.0 (0xf7c4c000)
libGLX.so.0 => /usr/lib32/libGLX.so.0 (0xf78f4000)
libdl.so.2 => /usr/lib32/libdl.so.2 (0xf7c47000)
/lib/ld-linux.so.2 => /usr/lib/ld-linux.so.2 (0xf7f55000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf74ae000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf78c9000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7c42000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7c3a000)
You should be able to use dnf list xdmcp* to find the package that contains the library and then install the package with a .i686 suffix.

If you want you can send me a PM and I will try to guide you through the installation (although I haven't used Fedora for more than a decade).

Edit: You definitely need glibc.i686 maybe that will make ldd produce useable output.
Post edited July 31, 2022 by mk47at

If you want you can send me a PM and I will try to guide you through the installation (although I haven't used Fedora for more than a decade).

Edit: You definitely need glibc.i686 maybe that will make ldd produce useable output.
Please update us if you manage to get anywhere. I ran into trouble with fedora 34, and got a double free (perhaps after it tried to use old alsa? I dont know)

strace ended like so:

<...hundred of lines snipped out...>
statx(12, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=10092, ...}) = 0
read(12, "#\n# ALSA library configuration "..., 4096) = 4096
read(12, "iption \"Direct hardware device w"..., 4096) = 4096
read(12, "e hw\n\tcard {\n\t\t@func getenv\n\t\tva"..., 4096) = 1900
read(12, "", 4096) = 0
close(12) = 0
openat(AT_FDCWD, "/etc/asound.conf", O_RDONLY) = 12
statx(12, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=55, ...}) = 0
read(12, "#\n# Place your global alsa-lib c"..., 4096) = 55
read(12, "", 4096) = 0
close(12) = 0
openat(AT_FDCWD, "/home/jx/.asoundrc", O_RDONLY) = 12
statx(12, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0664, stx_size=0, ...}) = 0
read(12, "", 4096) = 0
close(12) = 0
writev(2, [{iov_base="double free or corruption (fastt"..., iov_len=35}, {iov_base="\n", iov_len=1}], 2double free or corruption (fasttop)
...then kill/core dump

I concluded it was old, used 32-bit and perhaps wasn't playing nice with the PipeWire, jackd-compatible sound framework I currently use. Might try again with the new Syncrony version, as that seems to be 64-bit according to another post here and hopefully using newer libraries.
Post edited August 10, 2022 by slamby
avatar
slamby:
I haven't head anything from kkraltshop.

The new update (3.1.0-b2600 - with ampliefied/without syncrony) is 64-bit only (although it contains a windows exe as well – don't ask me why).
avatar
kkraltshop:
The updated version should work out of the box since it is now a 64-bit executable.
Post edited August 10, 2022 by mk47at
avatar
slamby:
avatar
mk47at: I haven't head anything from kkraltshop.

The new update (3.1.0-b2600 - with ampliefied/without syncrony) is 64-bit only (although it contains a windows exe as well – don't ask me why).
avatar
kkraltshop:
avatar
mk47at: The updated version should work out of the box since it is now a 64-bit executable.
hello hello sorry I did not post before.
I think I tried to do that dnf command earlier in terminal but it triggered a long time job, and I stopped it.
but anyway I downloaded the new version, and it starts alright. I had one play and it works.
thanks.