[Paraview-developers] /usr/lib64/libGL.so.1:undefined reference to '_glapi_tls_Dispatch' when build Paraview 5.3 with cmake

赵明 mzhao at cea-igp.ac.cn
Wed Mar 22 04:31:44 EDT 2017


 Hi everyone,

I got this error when build Paraview 5.3 in Centos with cmake 3.7:

/usr/lib64/libGL.so.1:undefined reference to '_glapi_tls_Dispatch' 

Strangle thing is,when I use ldd,everything seems OK:

[zm at centos7 ~]$ ldd /usr/lib64/libGL.so.1 | grep libglapi
    libglapi.so.0 => /lib64/libglapi.so.0 (0x00007f3aae953000)

[zm at centos7 ~]$ ldd /usr/lib64/libglapi.so.0
    linux-vdso.so.1 =>  (0x00007ffd195f3000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8d996a0000)
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f8d99478000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f8d990b7000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f8d99b03000)
    libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f8d98e56000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f8d98c51000)

[zm at centos7 ~]$ grep -r "_glapi_tls_Dispatch" /usr/lib64
匹配到二进制文件 /usr/lib64/dri/i915_dri.so
匹配到二进制文件 /usr/lib64/dri/i965_dri.so
匹配到二进制文件 /usr/lib64/dri/kms_swrast_dri.so
匹配到二进制文件 /usr/lib64/dri/nouveau_dri.so
匹配到二进制文件 /usr/lib64/dri/r300_dri.so
匹配到二进制文件 /usr/lib64/dri/r600_dri.so
匹配到二进制文件 /usr/lib64/dri/radeonsi_dri.so
匹配到二进制文件 /usr/lib64/dri/swrast_dri.so
匹配到二进制文件 /usr/lib64/dri/virtio_gpu_dri.so
匹配到二进制文件 /usr/lib64/dri/vmwgfx_dri.so
匹配到二进制文件 /usr/lib64/libglapi.so.0.0.0
grep: /usr/lib64/dbus-1/dbus-daemon-launch-helper: 权限不够
匹配到二进制文件 /usr/lib64/libGL.so.1.2.0
grep: /usr/lib64/vte-2.91/gnome-pty-helper: 权限不够

this is really strangle,isn't it?

Best
Ming

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170322/ab7ae2b5/attachment.html>


More information about the Paraview-developers mailing list