-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Principia DLL won't load on Arch Linux #4131
Comments
Arch requires a special setup, as documented in the FAQs. |
I forgot to mention that I've already did that: $ ldd principia.so
linux-vdso.so.1 (0x00007259693ff000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007259693aa000)
libc++.so.1 => /usr/lib/libc++.so.1 (0x0000725967cfd000)
libc++abi.so.1 => /usr/lib/libc++abi.so.1 (0x0000725967cbd000)
libunwind.so.1 => /usr/lib/libunwind.so.1 (0x0000725967ca3000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000725967bb4000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000725967b86000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000725967995000)
/usr/lib64/ld-linux-x86-64.so.2 (0x0000725969401000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000725967962000)
$ ls /usr/lib/libunwind.so.1
/usr/lib/libunwind.so.1 |
It would be good to have an unfiltered It would also be good to check the versions of the other libraries, notably Note however that Ubuntu is the only distro that we support, so the best that we can do is provide educated guesses. For what it's worth, #4004 had a complete |
$ pacman -Q libc++ libc++abi libunwind
libc++ 18.1.8-4
libc++abi 18.1.8-4
libunwind 1.8.1-3 These were my libraries. Well things goes well by just use I'm going to provide logs with It is weird that strace complains |
We have had one report previously of Principia not running when launched from Steam, and running fine when launched manually. We never got to the bottom of this, in part because we are not going to debug Steam (which, as you know, only supports Ubuntu). I have to believe that somehow Steam is setting up a running environment that is not compatible with Arch. |
Just had the same issue on LinuxMint 22 (Based on Ubuntu 24.04), and figured out a workaround/solution launching the game executable from withing the folder in which it is located works indeed. But if you want Steam to count the hours and such you need to create a link to the KSP executable and then add the link to the launch options in steam ("absolute path to the link" %command%). |
This worked on Fedora too, thank you! |
Originally posted on #4130 (comment). However it is not related to that issue.
Logs from KSP didn't provide any useful information, it just complains unable to find dll. I tried strace and got these: https://pastebin.com/FYiXGyBY
It seems like that the loader did not cooperate well with Linux ld or mono platform. I just did
sudo pacman -Syu
today before launching ksp, might changes the behavior of ld on finding libraries.Some extra informations:
$ uname -a Linux AL-1S 6.11.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 22 Oct 2024 18:31:38 +0000 x86_64 GNU/Linux
Other mods: https://pastebin.com/f9zgq9zt (Unlikely to be related to this issue).
The text was updated successfully, but these errors were encountered: