Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 10 of 13

Thread: Runtime error: can't find libGLEW.so.1.10 in /usr/lib64 directory

Threaded View

  1. #1
    Intern Contributor
    Join Date
    Dec 2010
    Posts
    57

    Runtime error: can't find libGLEW.so.1.10 in /usr/lib64 directory

    I'm having an error when trying to run my application. The file exists in the /usr/lib64 folder but I can't figure out how to fix the error

    Code :
    $ ./release/runme 
    ./release/runme: error while loading shared libraries: libGLEW.so.1.10: cannot open shared object file: No such file or directory
    $ find /usr -name 'libGLEW*'
    /usr/lib64/libGLEW.so.1.10.0
    /usr/lib64/libGLEW.a
    /usr/lib64/libGLEW.so
    /usr/lib64/libGLEW.so.1.10
    find: `/usr/lost+found': Permission denied
    /usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.8.0
    /usr/lib/x86_64-linux-gnu/libGLEW.so.1.8
    /usr/lib/x86_64-linux-gnu/libGLEWmx.so.1.8
    /usr/lib/x86_64-linux-gnu/libGLEW.so.1.8.0
    $ ldd ./release/runme
        linux-vdso.so.1 =>  (0x00007fffd6388000)
        libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0 (0x00007f2395f13000)
        libSDL2_image-2.0.so.0 => /usr/local/lib/libSDL2_image-2.0.so.0 (0x00007f2395cee000)
        libGL.so.1 => /usr/lib/nvidia-310/libGL.so.1 (0x00007f23959ca000)
        libGLEW.so.1.10 => not found
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f23956c7000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f23953c1000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f23951ab000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2394de3000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2394bc5000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f23949c1000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f23947b9000)
        libnvidia-tls.so.310.44 => /usr/lib/nvidia-310/tls/libnvidia-tls.so.310.44 (0x00007f23945b5000)
        libnvidia-glcore.so.310.44 => /usr/lib/nvidia-310/libnvidia-glcore.so.310.44 (0x00007f23920c2000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f2391d88000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f2391b75000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2396222000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f2391957000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f2391752000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f239154c000)
    $ ls -aR /usr/lib64/
    /usr/lib64/:
    .  ..  libGLEW.a  libGLEW.so  libGLEW.so.1.10  libGLEW.so.1.10.0  pkgconfig
     
    /usr/lib64/pkgconfig:
    .  ..  glew.pc

    As you can see, the GLEW files are essentially the only things in the /usr/lib64 directory. I have issued the ldconfig command as root but that has not fixed the problem. It seems like something needs to be added to /etc/ld.so.conf or one of the other conf files in /etc/ld.so.conf.d, or maybe I can just move these GLEW files into /usr/lib/x86_64-linux-gnu/ ?
    Last edited by PrestoChung; 08-27-2013 at 08:40 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •