What | Removed | Added |
---|---|---|
Summary | openscad: symbol lookup error: /lib64/libopencsg.so.1: undefined symbol: __glewXGetFBConfigAttribSGIX | libopencsg1-1.4.2-1.14.x86_64 is buggy (was: openscad: symbol lookup error: /lib64/libopencsg.so.1: undefined symbol: __glewXGetFBConfigAttribSGIX) |
(In reply to Tam���s N���meth from comment #1) > Are you using an Nvidia graphic card? no nvidia involved in my case: I'm running a Lonovo X260 with Intel Corporation Skylake GT2 [HD Graphics 520] it's a bug in libopencsg.so.1 (libopencsg1-1.4.2-1.14.x86_64) which is linked against ibGLEW.so.2.2 but requires sybbols from ibGLEW.so.2.1 as you can see here: actually those unresolved symbols come from /lib64/libopencsg.so.1, 7 out of 10 missing routines have "SGIX" in their name: $ ldd -r /lib64/libopencsg.so.1 | grep undefined undefined symbol: __glewXGetFBConfigAttribSGIX (/lib64/libopencsg.so.1) undefined symbol: __glewXChooseFBConfigSGIX (/lib64/libopencsg.so.1) undefined symbol: __GLXEW_SGIX_fbconfig (/lib64/libopencsg.so.1) undefined symbol: __glewXDestroyGLXPbufferSGIX (/lib64/libopencsg.so.1) undefined symbol: __glewXGetCurrentDisplay (/lib64/libopencsg.so.1) undefined symbol: __GLXEW_SGIX_pbuffer (/lib64/libopencsg.so.1) undefined symbol: __GLXEW_NV_float_buffer (/lib64/libopencsg.so.1) undefined symbol: __glewXCreateGLXPbufferSGIX (/lib64/libopencsg.so.1) undefined symbol: __glewXGetVisualFromFBConfig (/lib64/libopencsg.so.1) undefined symbol: __glewXCreateContextWithConfigSGIX (/lib64/libopencsg.so.1) $ ldd -r /lib64/libopencsg.so.1 | grep undefined | grep -c SGIX 7 looking for some of the missing syms they can be found from libGLEW.so.1.* up to libGLEW.so.2.1 -- but no longer in libGLEW.so.2.2 which libopencsg.so.1 is linkged against: $ ldd -r /lib64/libopencsg.so.1 | grep undefined | grep -c -v SGIX 3grep -l __glewXChooseFBConfigSGIX /usr/lib64/libGLEW* /usr/lib64/libGLEW.so.1.13 /usr/lib64/libGLEW.so.1.13.0 /usr/lib64/libGLEW.so.2.0 /usr/lib64/libGLEW.so.2.0.0 /usr/lib64/libGLEW.so.2.1 /usr/lib64/libGLEW.so.2.1.0 /usr/lib64/libGLEWmx.so.1.13 /usr/lib64/libGLEWmx.so.1.13.0 $ ldd -r /lib64/libopencsg.so.1 | grep GLEW libGLEW.so.2.2 => /lib64/libGLEW.so.2.2 (0x00007f65b7147000) $ nm -D /lib64/libGLEW.so.2.1 | grep -c __glewX 115 $ nm -D /lib64/libGLEW.so.2.2 | grep -c __glewX 0 so I tried preloading an older libGLEW which provides those missing symbols, and guess what -- openscad starts and seems to work: LD_PRELOAD=/lib64/libGLEW.so.2.1 openscad rc1.scad BUT when quitting openscad there is a SIGSEGV: $ LD_PRELOAD=/lib64/libGLEW.so.2.1 openscad rc1.scad Segmentation fault (core dumped)