-
Notifications
You must be signed in to change notification settings - Fork 5
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
libicu error when running on NixOS #122
Comments
Yo. So I've looked around at the framework I'm using (https://github.com/ppy/osu-framework) and the main game created with it (https://github.com/ppy/osu) and I'm not seeing any reports on this type of error. Is there possibly something setup to make these work? I'm not that well versed with linux, and particularly anything outside of ubuntu. One hint I did find while looking was https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/osu-lazer which does suggest someone has gotten it working. |
ICU is not framework-specific, it's a fundamental part of .NET, so it will affect any .NET program, it has nothing to do with osu. Normally, NixOS programs are statically linked, so this problem doesn't happen, because it will use the statically linked version of icu. However, you are distributing the replay viewer as an AppImage, which is dynamically linking to icu, that's why it has the problem, because it cannot find icu. |
Upon further reading, I think the proper fix may be exactly what I linked before: https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/osu-lazer If I understand correctly, it probably gets around the dynamic linking issue by just building it itself upon installing the package. I recommend doing this myself, as I don't particularly want to force invariant culture. I have made a copy of the above and made some edits to the package to maybe support getting AWBW Replay Player working. But be warned it is 100% untested and will need some massaging to get it to work. (Including making the deps file.) |
That will download the source code from this repository, compile everything from source, and then statically link everything. That's quite a lot more complicated than just running the AppImage. |
I'm trying to run this on NixOS. I downloaded the AppImage and ran it, but I get this error:
Unlike other Linux distros, NixOS doesn't have a libicu package. It seems this is causing problems with other .NET programs as well.
Ideally this would be fixed within NixOS, but it would be a lot faster and easier if the AWBW replay viewer disabled ICU. This is quite easy to do, you simply change a setting in your
csproj
files. The downside is that you lose support for language-specific dates, but I don't think that matters for the replay viewer.The text was updated successfully, but these errors were encountered: