QOpenGLWidget example doesn't start on Raspberry Pi
-
hello i have followed this tutorial to install qt5.8
https://wiki.qt.io/RaspberryPi2EGLFS
build full qt5.8 no problem
i have problem when i start qopenglwidget example.i have add the link to my qt library in /etc/ld.so.conf.d/qt5pi.conf
(for my /usr/local/qt5_8pi) and sudo ldconfigi have pi@raspberrypi:/usr/lib/arm-linux-gnueabihf $ sudo ldconfig
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DLogic.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt./sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Gamepad.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Positioning.so.5.8 is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Gamepad.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickExtras.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickParticles.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialPort.so is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTemplates2.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickControls2.so is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5TextToSpeech.so.5 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialPort.so.5.8 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTest.so is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5X11Extras.so is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebSockets.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5CLucene.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Sensors.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickParticles.so.5.8 is not an ELF file - it has the wrong magic bytes a t the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DExtras.so is not an ELF file - it has the wrong magic bytes at the star t.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DInput.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5EglFSDeviceIntegration.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickWidgets.so.5 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5CLucene.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickRender.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Network.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickWidgets.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DRender.so is not an ELF file - it has the wrong magic bytes at the star t.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5CLucene.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Multimedia.so.5.8 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5PrintSupport.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5PrintSupport.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Bluetooth.so.5 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5DataVisualization.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialBus.so is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickRender.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5EglFSDeviceIntegration.so.5 is not an ELF file - it has the wrong magic b ytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Location.so is not an ELF file - it has the wrong magic bytes at the star t.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaWidgets.so.5.8 is not an ELF file - it has the wrong magic byte s at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialPort.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaWidgets.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTemplates2.so is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5ScriptTools.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DExtras.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Location.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5XmlPatterns.so is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickInput.so.5 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5DataVisualization.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickRender.so.5 is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Network.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebChannel.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5XmlPatterns.so.5.8 is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickWidgets.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Purchasing.so is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebChannel.so is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Concurrent.so is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Widgets.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialBus.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Network.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5TextToSpeech.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebSockets.so is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTest.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Location.so.5 is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5NetworkAuth.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickExtras.so.5 is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Bluetooth.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DInput.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaWidgets.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuick.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DExtras.so.5 is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaQuick_p.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Gamepad.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaQuick_p.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5DataVisualization.so.5.8 is not an ELF file - it has the wrong magic byte s at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DRender.so.5 is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Concurrent.so.5.8 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Positioning.so is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickInput.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5TextToSpeech.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Widgets.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuick.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Concurrent.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickExtras.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaQuick_p.so.5.8 is not an ELF file - it has the wrong magic byte s at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5XmlPatterns.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Sensors.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DLogic.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5ScriptTools.so.5.8 is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebChannel.so.5.8 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickInput.so is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DLogic.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5EglFSDeviceIntegration.so is not an ELF file - it has the wrong magic byt es at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebSockets.so.5.8 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DRender.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Purchasing.so.5.8 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5ScriptTools.so is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5NetworkAuth.so is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Multimedia.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5X11Extras.so.5 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DInput.so.5.8 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Widgets.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Positioning.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Purchasing.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Sensors.so.5 is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickControls2.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Bluetooth.so is not an ELF file - it has the wrong magic bytes at the sta rt.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialBus.so.5 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickControls2.so.5.8 is not an ELF file - it has the wrong magic bytes a t the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTemplates2.so.5 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Multimedia.so is not an ELF file - it has the wrong magic bytes at the st art.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5NetworkAuth.so.5.8 is not an ELF file - it has the wrong magic bytes at t he start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuick.so is not an ELF file - it has the wrong magic bytes at the start .
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTest.so.5 is not an ELF file - it has the wrong magic bytes at the s tart.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickParticles.so is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5X11Extras.so.5.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5PrintSupport.so.5 is not an ELF file - it has the wrong magic bytes at th e start.
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Script.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickRender.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickParticles.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Purchasing.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Charts.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebChannel.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Network.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTest.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5X11Extras.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DInput.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialBus.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Core.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Concurrent.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Multimedia.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DRender.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaWidgets.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Positioning.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickWidgets.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DLogic.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Nfc.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Quick.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5SerialPort.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Help.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickTemplates2.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5CLucene.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Widgets.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Xml.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5MultimediaQuick_p.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Scxml.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5NetworkAuth.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5XmlPatterns.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5XcbQpa.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickInput.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DCore.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Gui.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5TextToSpeech.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Sql.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5QuickControls2.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Test.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Bluetooth.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5PrintSupport.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5OpenGL.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Gamepad.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Location.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuick.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DQuickExtras.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5EglFSDeviceIntegration.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt53DExtras.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Qml.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Svg.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5ScriptTools.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5DataVisualization.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5DBus.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5Sensors.so.5 is not a symbolic link
/sbin/ldconfig.real: /usr/local/qt5_8pi/lib/libQt5WebSockets.so.5 is not a symbolic link```
when i run qopenglwidget:
error: /usr/lib/arm-linux../libqt5Gui.so.5 no version information available
error: /usr/lib/arm-linux../libqt5Core.so.5 no version information available
... version Qt_5 not defined in file libQt5Gui.so.5 with link time reference.can you help me please?
i blocked since lot of weeks.
thanks
-
@kickoune103 if you run "file" on the libraries, what does it say that they are ?
-
@kickoune103 Are you sure you built Qt for Rasperry Pi (for ARM) instead for your PC X86_64?
You can check that callingfile /usr/local/qt5_8pi/lib/libQt53DLogic.so.5
on your Raspberry Pi.
-
example:
pi@raspberrypi:~ $ sudo file /usr/local/qt5_8pi/lib/libQt53DLogic.so.5
/usr/local/qt5_8pi/lib/libQt53DLogic.so.5: data -
yes 64bits...
-device-option CROSS_COMPILE=~/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- \
-
Something must have gone wrong in your build. Did you build on-device ?
-
no cross compiling like this :
https://wiki.qt.io/RaspberryPi2EGLFS -
@kickoune103 thibaud@thibaud-VirtualBox:~$ ./configure -release -opengl es2 -device linux-rasp-pi2-g++ -device-option CROSS_COMPILE=/home/thibaud/Bureau/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot /home/thibaud/Bureau/rpi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5_8pi -extprefix /home/thibaud/Bureau/rpi/qt5_8pi -hostprefix /home/thibaud/Bureau/rpi/qt5_8 -v
-
Ok, I do all my builds on-device.
But, check that the library files produced on your build machine are ARM binaries, use file for example, should respond with something like:ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV) .
and if not, then your build environment is broken.
And check that they don't break when do transfer them over to your Pi.
-
in my pi:
root@raspberrypi:/usr/local/qt5_8pi/lib# file libQt5Gui.so.5.8.0
libQt5Gui.so.5.8.0: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, BuildID[sha1]=4bcd5c6b508a7f287465b546df892a89b8cb6867, stripped -
host:
thibaud@thibaud-VirtualBox:~/Bureau/rpi/qt5_8pi/lib$ file libQt53DLogic.so.5
libQt53DLogic.so.5: symbolic link to libQt53DLogic.so.5.8.0pi:
root@raspberrypi:/usr/local/qt5_8pi/lib# file libQt53DLogic.so.5
libQt53DLogic.so.5: data -
i have copied in USB disk FAT32, symbolink link was disapeard! no error in linux!
my virtual machine not work in ssh at my work, but work fine at home...
so i copy in usb at work. -
export LD_LIBRARY_PATH=/usr/local/qt5_8pi
example opengl running but no font in qt5_8pi/lib/font ..... is empty !!!! -
@kickoune103 FAT32 never heard anything about symbolic links - you should use a Linux file system, not FAT32.
-
lib font is empty
i have install
libfontconfig1-dev
libfreetype6-devproblem!!!!!
Build options:
Mode ................................... release
Building shared libraries .............. yes
Using C++ standard ..................... C++11
Using gold linker ...................... yes
Using new DTAGS ........................ yes
Using precompiled headers .............. yes
Using LTCG ............................. no
Target compiler supports:
NEON ................................. yes
Build parts ............................ libs
Qt modules and options:
Qt Concurrent .......................... yes
Qt D-Bus ............................... yes
Qt D-Bus directly linked to libdbus .... no
Qt Gui ................................. yes
Qt Widgets ............................. yes
Support enabled for:
Accessibility .......................... yes
Using pkg-config ....................... no
QML debugging .......................... yes
udev ................................... yes
Using system zlib ...................... yes
Qt Core:
DoubleConversion ....................... yes
Using system DoubleConversion ........ no
GLib ................................... no
iconv .................................. no
ICU .................................... yes
Logging backends:
journald ............................. no
syslog ............................... no
Using system PCRE ...................... no
Qt Network:
getaddrinfo() .......................... yes
getifaddrs() ........................... yes
IPv6 ifname ............................ yes
libproxy ............................... no
OpenSSL ................................ yes
Qt directly linked to OpenSSL ........ no
SCTP ................................... no
Use system proxies ..................... yes
Qt Sql:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. no
OCI (Oracle) ........................... no
ODBC ................................... yes
PostgreSQL ............................. no
SQLite2 ................................ yes
SQLite ................................. yes
Using system provided SQLite ......... no
TDS (Sybase) ........................... yes
Qt Gui:
FreeType ............................... yes
Using system FreeType ................ no
HarfBuzz ............................... yes
Using system HarfBuzz ................ no
Fontconfig ............................. no
Image formats:
GIF .................................. yes
ICO .................................. yes
JPEG ................................. yes
Using system libjpeg ............... yes
PNG .................................. yes
Using system libpng ................ yes
OpenGL:
EGL .................................. yes
Desktop OpenGL ....................... no
OpenGL ES 2.0 ........................ yes
OpenGL ES 3.0 ........................ no
OpenGL ES 3.1 ........................ no
Session Management ..................... yes
Features used by QPA backends:
evdev .................................. yes
libinput ............................... no
mtdev .................................. no
tslib .................................. yes
xkbcommon-evdev ........................ no
QPA backends:
DirectFB ............................... no
EGLFS .................................. yes
EGLFS details:
EGLFS i.Mx6 .......................... no
EGLFS i.Mx6 Wayland .................. no
EGLFS EGLDevice ...................... no
EGLFS GBM ............................ no
EGLFS Mali ........................... no
EGLFS Rasberry Pi .................... yes
EGL on X11 ........................... no
LinuxFB ................................ yes
Mir client ............................. no
X11:
Using system provided XCB libraries .. yes
EGL on X11 ........................... no
Xinput2 .............................. yes
XCB XKB .............................. yes
XLib ................................. yes
Xrender .............................. yes
XCB render ........................... yes
XCB GLX .............................. yes
XCB Xlib ............................. yes
Using system-provided xkbcommon ...... no
Qt Widgets:
GTK+ ................................... no
Styles ................................. Fusion Windows
Qt PrintSupport:
CUPS ................................... yes
Qt SerialBus:
Socket CAN ............................. yes
Socket CAN FD .......................... yes
QtXmlPatterns:
XML schema support ..................... yes
Qt QML:
QML interpreter ........................ yes
QML network support .................... yes
Qt Quick:
Direct3D 12 ............................ no
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Quick Designer ............. yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yes
Qt Gamepad:
SDL2 ................................... no
Qt 3D:
System Assimp .......................... no
Qt Wayland Client ........................ no
Qt Wayland Compositor .................... no
Qt Bluetooth:
BlueZ .................................. no
BlueZ Low Energy ....................... no
Linux Crypto API ....................... no
Qt Multimedia:
ALSA ................................... yes
GStreamer 1.0 .......................... no
GStreamer 0.10 ......................... no
Video for Linux ........................ yes
OpenAL ................................. no
PulseAudio ............................. no
Resource Policy (libresourceqt5) ....... no
DirectShow ............................. no
Windows Media Foundation ............... no
Qt Location:
Gypsy GPS Daemon ....................... no
WinRT Geolocation API .................. no
Qt Sensors:
sensorfw ............................... no
Qt WebEngine:
Proprietary Codecs ..................... no
Spellchecker ........................... yes
ALSA ................................... yes
PulseAudio ............................. noERROR: Feature 'system-freetype' was enabled, but the pre-condition 'features.freetype && libs.freetype' failed.
ERROR: Feature 'fontconfig' was enabled, but the pre-condition '!config.win32 && !config.darwin && features.system-freetype && libs.fontconfig' failed.
-
@kickoune103 Please call configure with additional -v parameter. Then you will see what exactly is missing.
-
-v it's use before.
V5_8 works with my pi2 in cross compil.$LD_LIBRARY_PATH="/usr/local/qt5_8pi/lib" (for me)
$QT_QPA_FONTDIR = "/usr/share/fonts/truetype/dejavu"for works with this tutorial:
https://wiki.qt.io/RaspberryPi2EGLFSit's work less fontconfig with my previous image.
-
@kickoune103 said in error after start example qt5.8 for raspberrypi:
-v it's use before.
Then please post the actual configure output (at least the part where fontconfig is being tested).