Bijman / srb2bld

POSIX shell script that eases compiling, installing or creating AppImage/Flatpak/App Bundle/Android APKs of Sonic Robo Blast 2 related builds.
MIT License
9 stars 2 forks source link

[SDL_Mixer_X] binary unable to locate library #10

Closed olifloof closed 2 years ago

olifloof commented 2 years ago

built Uncapped Plus with Discord RPC and Mixer X I get this error when trying to launch:

srb2ucp: error while loading shared libraries: libSDL2_mixer_ext.so.2: cannot open shared object file: No such file or directory
olifloof commented 2 years ago

yet I can find it in /usr/local/lib

Bijman commented 2 years ago

Did you set export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" in your shell configuration file? This should solve issue with not finding path to library by binary.

olifloof commented 2 years ago

could I use direnv for that instead?

Bijman commented 2 years ago

Yes.

olifloof commented 2 years ago

exporting that environment variable worked, thanks