Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZED SDK error while loading shared libraries: libGLEW.so.1.13: cannot open shared object file: No such file or directory

Tags:

c++

ubuntu

I'm trying to run the ZED Explorer application from ZED SDK. But when I do that, I get this error:

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

I tried to fix it using the other solutions mentioned on SO but didn't have any luck.

like image 937
Fawad Ahmad Avatar asked Mar 28 '17 21:03

Fawad Ahmad


People also ask

What does ‘cannot open shared object file’ mean?

cannot open shared object file: No such file or directory. The reason behind this error is that the libraries of the program have been installed in a place where dynamic linker cannot find it. Fix ‘cannot open shared object file: No such file or directory’ error

What does “Java-version” error message “Error while loading shared libraries” mean?

“java -version” quits with the error message “error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory” when trying to start the JVM. The problem is there if it is run under a normal user or if it is run under the root user The problem is there only if it is run by a normal user.

Why does dynamic linker fail to load shared libraries?

The reason behind this error is that the libraries of the program have been installed in a place where dynamic linker cannot find it. In this quick tutorial, I’ll show you the quickest and the easiest way to fix this error while loading shared libraries.

Why can’t the runtime loader link with libraries in untrusted paths?

When raising the privileges of an executable, the runtime loader (rtld), better known as ld.so, will not link with libraries in untrusted paths. This is the way ld.so (1) was designed. If such an executable needs to be run, then the paths to the associated libraries for the elevated executable must be added to the trusted paths of ld.so.


1 Answers

It appears that your software needs the GLEW library, and you're missing the shared library libGLEW.so.1.13, so you have to install it. Looking for it through aptitude or apt-cache:

sudo apt-cache search libGLEW

shows that it belongs to the GLEW library. So install the library through:

sudo apt-get install glew-utils
like image 71
expiring_noob Avatar answered Oct 16 '22 00:10

expiring_noob