osu-framework: libbass.so not being loaded under Linux despise being on the library loading path
LD_LIBRARY_PATH is set to the build folder, and both libbass.so and libbass_fx.so are present on said folder. Setting LD_DEBUG=libs shows that the osu!framework doesn’t seem to attempt loading such libraries (messages like find library=libbass.so are never logged to the console, meaning those files are never requested), whereas on an older, known-good version of the framework (2019.122.0) such files are successfully found and loaded.
Moving libbass.so and libbass_fx.so to one of the default library locations, such as /usr/bin has no effect whatsoever.
Steps to reproduce:
- Build and try to run any osu!framework-dependent project with the latest framework build on a Linux system
- Application will crash with a
System.DllNotFoundExceptionclaiming that it wasn’t possible to load shared library ‘bass’ or one of it’s dependencies
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 20 (13 by maintainers)
Commits related to this issue
- Add x64 BASS libraries (#2216) It still depends on LD_LIBRARY_PATH, so a proper solution should be implemented later. Closes #2189 — committed to ppy/osu-framework by GurovRoman 5 years ago
Okay, got that. It was naive of me to think that it copies the whole directory. Will look into configs now. It would be really good if you could check that fix before it gets merged, because I can’t build the framework myself.