Krystian
Krystian
Ubuntu 23.10
I'm currently at work so I will test it once I'm back home and have access to my laptop
> Sure, no pressure That worked, built fine. However it fails to run the executable when running `cspc run ...` ``` cspc run helloworld.csp Compiling helloworld.csp Optimizing (2/2) evaluate constant...
> Can you check your dynamic linker using ldd on the generated executable? It works in my Ubuntu 23.10 VM ``` ldd helloworld.out linux-vdso.so.1 (0x00007ffd35ad8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f343b800000) /lib64/ld-linux-x86-64.so.2...
> That seems alright. Can you try linking statically using `--static` on the compiler? Also, what error does your shell give you if you just try to run `helloworld.out` >...
> Ok that's _very_ weird... The "No such file or directory" error could also mean an issue during the linking process, which is much more common in my experience. What...
thats correct
> Try removing qemu-static-* using dnf. Probably those 2 are conflicting and it seems like one is starting another (but why?). I have the same issue, but looking for anything...
> A related fix [f3d1ffb](https://github.com/ptitSeb/box64/commit/f3d1ffbe0133a70fc210f04d4151637536d8ef8f) was just pushed to main, can you pull the latest code and retry? Recompiled the lib and built it for M1 rather than installing `box64.asahi`...