title: libGLEW.so.1.9: cannot open shared object file
body: <p>I am new to c++ and have at my new project a problem I don't understand.<br>
  The relevant parts of my program are:</p>
  
  <pre><code>    #include &lt;glew.h&gt;      
      #include &lt;SDL.h&gt;
      #include &lt;SDL_opengl.h&gt;
  
      int initGlew()
      {
          if(glewInit()!=GLEW_OK)
          {
              printf("Unable to init glew!");
              return 1;
          }
          return 0;
      }
  </code></pre>
  
  <p>But when I run it with codeblocks, there is the following runtime-error:</p>
  
  <pre><code>home/samuel/Dokumente/ProjekteC++/GameGL/bin/Debug/GameGL: error while loading shared libraries: libGLEW.so.1.9: cannot open shared object file: No such file or directory
  </code></pre>
  
  <p>At the build options i linked to these so-files:</p>
  
  <ul>
  <li>../../../../../usr/local/lib/SDL</li>
  <li>../../../../../usr/local/lib64/libGLEW.so</li>
  <li>../../../../../usr/local/lib64/libGLEW.so.1.9</li>
  </ul>
  
  <p>I searched a lot where the error could be, but didn't found anything. I hope you can help me.</p>