[Bug 1189440] New: openscad: symbol lookup error: /lib64/libopencsg.so.1: undefined symbol: __glewXGetFBConfigAttribSGIX
https://bugzilla.suse.com/show_bug.cgi?id=1189440 Bug ID: 1189440 Summary: openscad: symbol lookup error: /lib64/libopencsg.so.1: undefined symbol: __glewXGetFBConfigAttribSGIX Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: koenig@linux.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- trying to start openscad I get openscad: symbol lookup error: /lib64/libopencsg.so.1: undefined symbol: __glewXGetFBConfigAttribSGIX $ rpm -q libopencsg1 openscad libGLEW2_2 libopencsg1-1.4.2-1.14.x86_64 openscad-2021.01-2.3.x86_64 libGLEW2_2-2.2.0-2.1.x86_64 $ rpm -qi libopencsg1 openscad libGLEW2_2 | grep Dis Distribution: openSUSE Tumbleweed Distribution: openSUSE Tumbleweed Distribution: openSUSE Tumbleweed $ ldd -r /usr/bin/openscad ... undefined symbol: __glewXGetFBConfigAttribSGIX (/lib64/libopencsg.so.1) undefined symbol: __glewXChooseFBConfigSGIX (/lib64/libopencsg.so.1) undefined symbol: __glewXDestroyGLXPbufferSGIX (/lib64/libopencsg.so.1) undefined symbol: __glewXGetCurrentDisplay (/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) undefined symbol: __GLXEW_SGIX_fbconfig (/usr/bin/openscad) undefined symbol: __GLXEW_SGIX_pbuffer (/usr/bin/openscad) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189440 https://bugzilla.suse.com/show_bug.cgi?id=1189440#c3 Harald Koenig <koenig@linux.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|openscad: symbol lookup |libopencsg1-1.4.2-1.14.x86_ |error: |64 is buggy (was: openscad: |/lib64/libopencsg.so.1: |symbol lookup error: |undefined symbol: |/lib64/libopencsg.so.1: |__glewXGetFBConfigAttribSGI |undefined symbol: |X |__glewXGetFBConfigAttribSGI | |X) --- Comment #3 from Harald Koenig <koenig@linux.de> --- (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) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189440 https://bugzilla.suse.com/show_bug.cgi?id=1189440#c4 --- Comment #4 from Harald Koenig <koenig@linux.de> --- gdb backtrace for the crash at exit, doesn't look too useful to me -- YMMV;) [Thread 0x7fffe96c4640 (LWP 29313) exited] Thread 1 "openscad" received signal SIGSEGV, Segmentation fault. 0x00005555557371e8 in gui (inputFiles=..., original_path=..., argc=<optimized out>, argv=<optimized out>) at src/openscad.cc:848 Downloading source file /usr/src/debug/openscad-2021.01-2.3.x86_64/src/openscad.cc... Download failed: Input/output error. Continuing without source file /usr/src/debug/openscad-2021.01-2.3.x86_64/src/openscad.cc. 848 src/openscad.cc: Success. (gdb) (gdb) bt #0 0x00005555557371e8 in gui(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, boost::filesystem::path const&, int, char**) (inputFiles=<optimized out>, original_path=<optimized out>, argc=<optimized out>, argv=<optimized out>) at src/openscad.cc:848 #1 0x000055555560ed43 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffd578) at src/openscad.cc:1188 (gdb) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189440 https://bugzilla.suse.com/show_bug.cgi?id=1189440#c6 Harald Koenig <koenig@linux.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|libopencsg1-1.4.2-1.14.x86_ |libGLEW2_2 buggy (was: |64 is buggy (was: openscad: |libopencsg1-1.4.2-1.14.x86_ |symbol lookup error: |64 is buggy (was: openscad: |/lib64/libopencsg.so.1: |symbol lookup error: |undefined symbol: |/lib64/libopencsg.so.1: |__glewXGetFBConfigAttribSGI |undefined symbol: |X) |__glewXGetFBConfigAttribSGI | |X)) --- Comment #6 from Harald Koenig <koenig@linux.de> --- (In reply to Tam�s N�meth from comment #5)
So, the solution was to download http://download.opensuse.org/history/20210807/tumbleweed/repo/oss/x86_64/ libGLEW2_2-2.2.0-1.14.x86_64.rpm , and install it with zypper (using the --oldpackage) option, and now I can run Blender and SupertuxKart.
ACK! works for openscad me, too!! so I was wrong 2nd time that it's a bug in but in libGLEW2_2 ;-) btw: openscad still crashes at exit, so this was not a side effect of LD_PRELOAD=... -- but who cares ;-)) thanks for that hint! Harald -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189440 https://bugzilla.suse.com/show_bug.cgi?id=1189440#c7 --- Comment #7 from Tam�s N�meth <nt1277@gmail.com> --- I ran a diff on the outputs of `nm -D` ran on the current and installed versions of libGLEW2_2, and they are so different, like not even being the same software. Why can it be? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189440 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |jsikes@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1189440 https://bugzilla.suse.com/show_bug.cgi?id=1189440#c8 Tam�s N�meth <nt1277@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #8 from Tam�s N�meth <nt1277@gmail.com> --- It works now, starting with libGLEW2_2-2.2.0-3.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com