libQt5Gui : Undefined symbol: glGenVertexArrays

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

libQt5Gui : Undefined symbol: glGenVertexArrays

Postby gibs » Thu Dec 25, 2014 12:50 pm

Hello

Since a few days I get this error when I try to launch smplayer. (was working before)

smplayer: symbol lookup error: /usr/lib/libQt5Gui.so.5: undefined symbol: glGenVertexArrays

$this->bbcode_second_pass_code('', '
ls -als /usr/lib/libQt5G*
4 -rw-r--r-- 1 root root 875 Dec 14 01:08 /usr/lib/libQt5Gui.prl
0 lrwxrwxrwx 1 root root 18 Dec 14 01:07 /usr/lib/libQt5Gui.so -> libQt5Gui.so.5.4.0
0 lrwxrwxrwx 1 root root 18 Dec 14 01:07 /usr/lib/libQt5Gui.so.5 -> libQt5Gui.so.5.4.0
0 lrwxrwxrwx 1 root root 18 Dec 14 01:07 /usr/lib/libQt5Gui.so.5.4 -> libQt5Gui.so.5.4.0
3876 -rwxr-xr-x 1 root root 3965644 Dec 14 01:08 /usr/lib/libQt5Gui.so.5.4.0
')

Any idea ? Thanks
gibs
 
Posts: 2
Joined: Thu Dec 25, 2014 12:41 pm

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby WarheadsSE » Fri Dec 26, 2014 2:07 am

The bumpto Qt5 5.4 happened this past weekend, and is likely part of the culprit.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby gibs » Fri Dec 26, 2014 6:43 am

Thanks for your answer and this information...

What solution do I have (except restoring my last week snapshot) ?
gibs
 
Posts: 2
Joined: Thu Dec 25, 2014 12:41 pm

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby probspot » Mon Jan 26, 2015 12:17 am

Hi,

same problem here after yesterday's 'pacman -Syu'. Now any KDE application (tried gwenview and konsole) crashes with:

konsole: symbol lookup error: /usr/lib/libQt5Gui.so.5: undefined symbol: glGenVertexArrays

I tried completely uninstalling and reinstalling KDE and Qt. Did not help. Binaries seem to be linked to Qt5 now.
probspot
 
Posts: 2
Joined: Mon Jan 26, 2015 12:12 am

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby probspot » Mon Jan 26, 2015 5:56 pm

Further observations:

Installed Freescale libraries only provide the "glGenVertexArraysOES" symbol:
$this->bbcode_second_pass_code('', '
for i in /opt/fsl/lib/*.so; do echo $i; nm -D $i | grep -in glGenVertexArrays; done
/opt/fsl/lib/libCLC.so
/opt/fsl/lib/libEGL.so
/opt/fsl/lib/libGAL.so
/opt/fsl/lib/libGL.so
/opt/fsl/lib/libGLES_CL.so
/opt/fsl/lib/libGLES_CM.so
/opt/fsl/lib/libGLESv1_CL.so
/opt/fsl/lib/libGLESv1_CM.so
/opt/fsl/lib/libGLESv2.so
325:00036c8c T glGenVertexArraysOES
/opt/fsl/lib/libGLSLC.so
/opt/fsl/lib/libOpenCL.so
/opt/fsl/lib/libOpenVG.so
/opt/fsl/lib/libOpenVG_355.so
/opt/fsl/lib/libOpenVG_3D.so
/opt/fsl/lib/libVDK.so
/opt/fsl/lib/libVIVANTE.so
/opt/fsl/lib/libfslvpuwrap.so
/opt/fsl/lib/libvpu.so
')
Later on I stumbled upon the following notice:

https://community.freescale.com/thread/306294

Item 2.4 states: "The -no-opengl -opengl es2 option should be used because Qt5 in i.MX is only compatible with OpenGL es2."

Looking at the current PKGBUILD, the "-no-opengl" option was apparently not passed. However, the other one is present:

https://github.com/archlinuxarm/PKGBUIL ... 5/PKGBUILD:
$this->bbcode_second_pass_code('', '
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
-prefix /usr \
-bindir /usr/lib/qt/bin \
-docdir /usr/share/doc/qt \
-headerdir /usr/include/qt \
-archdatadir /usr/lib/qt \
-datadir /usr/share/qt \
-sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt/examples \
-plugin-sql-{psql,mysql,sqlite,odbc} \
-system-sqlite \
-openssl-linked \
-nomake examples \
-nomake tests \
-no-rpath \
-optimized-qmake \
-dbus-linked \
-system-harfbuzz \
-journald \
-no-sse2 \
-no-sse3 \
-no-ssse3 \
-no-sse4.1 \
-no-sse4.2 \
-no-avx \
-no-avx2 \
-opengl es2 \
-skip webengine
')
I'll try to recompile qt5 adding the missing option and see whether it fixes things.
probspot
 
Posts: 2
Joined: Mon Jan 26, 2015 12:12 am

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby devr » Sat Jan 31, 2015 3:46 pm

$this->bbcode_second_pass_quote('probspot', 'I')'ll try to recompile qt5 adding the missing option and see whether it fixes things.


Hey probspot, I was curious if your recompile helped the issue ?
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby epileftric » Fri Feb 20, 2015 2:41 pm

Any news on this?
epileftric
 
Posts: 2
Joined: Fri Feb 20, 2015 2:04 pm

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby errepunto » Tue Feb 24, 2015 11:23 am

I tried yesterday in my C1 (amlogic) and U2 (samsung), after installig the last updates for KDE packages. In U2 I can start kwrite without problems, but in C1 the error "undefined symbol: glGenVertexArrays" still exists :cry:
errepunto
 
Posts: 3
Joined: Mon Sep 03, 2012 6:52 pm

Re: libQt5Gui : Undefined symbol: glGenVertexArrays

Postby errepunto » Thu Feb 26, 2015 6:42 pm

I tried to compile the library by myself with the"-no-open-gl" flag. After several hours (and aN ODROID-C1 very very hot), I've got an error:
$this->bbcode_second_pass_code('', '
/usr/bin/ld.gold: internal error in make_view, at /build/binutils/src/binutils-2.25/gold/fileread.cc:472
collect2: error: ld returned 1 exit status
Makefile.api:115: recipe for target '../lib/libQt5WebKit.so.5.4.0' failed
make[3]: *** [../lib/libQt5WebKit.so.5.4.0] Error 1
make[3]: Leaving directory '/usr/src/aur/extra/qt5/src/qt-everywhere-opensource-src-5.4.0/qtwebkit/Source'
Makefile.QtWebKit:45: recipe for target 'sub-api-pri-make_first-ordered' failed
make[2]: *** [sub-api-pri-make_first-ordered] Error 2
make[2]: Leaving directory '/usr/src/aur/extra/qt5/src/qt-everywhere-opensource-src-5.4.0/qtwebkit/Source'
Makefile:351: recipe for target 'sub-Source-QtWebKit-pro-make_first-ordered' failed
make[1]: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
make[1]: Leaving directory '/usr/src/aur/extra/qt5/src/qt-everywhere-opensource-src-5.4.0/qtwebkit'
Makefile:484: recipe for target 'module-qtwebkit-make_first' failed
make: *** [module-qtwebkit-make_first] Error 2
')

So I'm stuck here.
errepunto
 
Posts: 3
Joined: Mon Sep 03, 2012 6:52 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 16 guests

cron