Hi, i’m trying to snap TauonMusicBox and i stumble on an error with lib SDL2 import. On my first try, i got the following error :
RuntimeError: could not find any library for SDL2 (PYSDL2_DLL_PATH: unset)
FTR, i’ve read about this on this post How best to link to SDL2
After reading this post Using git from a program i’ve tried different settings to get the path working with
environment key word with no luck, still got an error :
ImportError: could not find any library for SDL2 (PYSDL2_DLL_PATH: :/snap/tauon/x2/usr/lib/x86_64-linux-gnu)
For now, i’m setting
PYSDL2_DLL_PATH: $PYSDL2_DLL_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET in
environment since that’s where i can see the lib reside in prime directory.
My snap is here https://github.com/brunob/TauonMusicBox/blob/snapcraft/snapcraft.yaml and the related issue on original repo is https://github.com/Taiko2k/TauonMusicBox/issues/207
Does anyone have been experienced with this lib and could give me hints about this ?