Failed to load dynamic library / usr / lib / OGRE / RenderSystem_GL

I try to run a program in C ++, but I get this error:

terminate called after throwing an instance of 'Ogre::InternalErrorException' what():  OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library /usr/lib/OGRE/RenderSystem_GL.  System Error: /usr/lib/OGRE/RenderSystem_GL.so: cannot open shared object file: No such file or directory

I installed the Ogre libraries, but this problem still persists. Any help on which package I need to install to get rid of this error? I am using Ubuntu 14.04.

+4
source share
2 answers

OGRE libraries sent by Ubuntu are installed in /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/(or -1.8.0), not in /usr/lib/OGRE/.

dlopen . , (, , , ), :

sudo ln -s /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/ /usr/lib/OGRE/
+5

ldd YOUR_BINARY, , , .

0

Source: https://habr.com/ru/post/1545550/


All Articles