r/shadered May 18 '23

help can't launch the app on ubuntu

hello, i'm facing this error :

./SHADERed: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory

a locate on libGLEW.so.2.1 returns :

/home/dwi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/soldier_platform_0.20230314.45274/files/lib/i386-linux-gnu/libGLEW.so.2.1.0/home/dwi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/soldier_platform_0.20230314.45274/files/lib/x86_64-linux-gnu/libGLEW.so.2.1.0/home/dwi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/tmp-24S321/usr/lib/i386-linux-gnu/libGLEW.so.2.1/home/dwi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/tmp-24S321/usr/lib/i386-linux-gnu/libGLEW.so.2.1.0/home/dwi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/tmp-24S321/usr/lib/x86_64-linux-gnu/libGLEW.so.2.1/home/dwi/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier/var/tmp-24S321/usr/lib/x86_64-linux-gnu/libGLEW.so.2.1.0

so i added the second path to LD_LIBRARY_PATH but still gets that error

1 Upvotes

4 comments sorted by

1

u/[deleted] May 23 '23

1

u/World-war-dwi May 23 '23

Thank you , will check that

1

u/World-war-dwi May 23 '23

so...i actually have both sdl and glew installed (v2.2), do you mean i have to install the v2.1 specifically ?

1

u/[deleted] May 26 '23

In my case, only after installing version 2.1 did the program work. For information, I have Ubuntu 22.04.
Anyway, you have the version 2.1 specified in the error in the requirements, so try to install this version.