2.8 can't find libGLEW on ubuntu 19.04


everything worked fine in ubuntu 18.10 but after upgrading to 19.04, my blender 2.80 builds won’t run anymore:
error while loading shared libraries: libGLEW.so.2.0: cannot open shared object file: No such file or directory
although glew version 2.1.0-4 is installed.

I tried changing WITH_SYSTEM_GLEW to True in CMakeCache.txt and recompiled: same error, I
reset it to False again, recompiled, same error, deleted the build folder, recompiled, same error.

Now I’m out of ideas, please help.

If you use install_deps.sh to build library dependencies, you may have to remove those as well and build both the libraries and Blender from scratch.

1 Like