[Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

Ramakanthreddy Kesireddy Ramakanthreddy.Kesireddy at techmahindra.com
Fri Nov 15 08:24:44 CET 2013


Hi Thiago,

Thanks for your pointers. It complains of missing symbols.

Here is the output:

$ ldd -d -r /usr/local/qt5/plugins/platforms/libqeglfs.so


    libfontconfig.so.1 => /usr/lib/arm-linux-gnueabi/libfontconfig.so.1 (0x2ac3f000)
    libfreetype.so.6 => /usr/lib/arm-linux-gnueabi/libfreetype.so.6 (0x2ac91000)
    libgthread-2.0.so.0 => /usr/lib/arm-linux-gnueabi/libgthread-2.0.so.0 (0x2aaef000)
    librt.so.1 => /lib/arm-linux-gnueabi/librt.so.1 (0x2aba3000)
    libglib-2.0.so.0 => /lib/arm-linux-gnueabi/libglib-2.0.so.0 (0x2acf1000)
    libQt5Gui.so.5 => /usr/local/qt5/lib/libQt5Gui.so.5 (0x2adad000)
    libQt5Core.so.5 => /usr/local/qt5/lib/libQt5Core.so.5 (0x2b108000)
    libGLESv2.so.2 => /usr/lib/arm-linux-gnueabi/mesa-egl/libGLESv2.so.2 (0x2aaaf000)
    libEGL.so.1 => /usr/lib/arm-linux-gnueabi/mesa-egl/libEGL.so.1 (0x2ab3a000)
    libGAL.so => /usr/lib/libGAL.so (0x2b596000)
    libpthread.so.0 => /lib/arm-linux-gnueabi/libpthread.so.0 (0x2ab21000)
    libstdc++.so.6 => /usr/lib/arm-linux-gnueabi/libstdc++.so.6 (0x2b64e000)
    libm.so.6 => /lib/arm-linux-gnueabi/libm.so.6 (0x2b6f9000)
    libgcc_s.so.1 => /lib/arm-linux-gnueabi/libgcc_s.so.1 (0x2abb1000)
    libc.so.6 => /lib/arm-linux-gnueabi/libc.so.6 (0x2b765000)
    libexpat.so.1 => /lib/arm-linux-gnueabi/libexpat.so.1 (0x2abc2000)
    /lib/ld-linux.so.3 (0x2ab02000)
    libz.so.1 => /lib/arm-linux-gnueabi/libz.so.1 (0x2abe3000)
    libpcre.so.3 => /lib/arm-linux-gnueabi/libpcre.so.3 (0x2b846000)
    libdl.so.2 => /lib/arm-linux-gnueabi/libdl.so.2 (0x2aac2000)
    libglapi.so.0 => /usr/lib/arm-linux-gnueabi/libglapi.so.0 (0x2ac6a000)
    libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabi/libX11-xcb.so.1 (0x2ab55000)
    libX11.so.6 => /usr/lib/arm-linux-gnueabi/libX11.so.6 (0x2b87e000)
    libxcb-dri2.so.0 => /usr/lib/arm-linux-gnueabi/libxcb-dri2.so.0 (0x2abf5000)
    libxcb-xfixes.so.0 => /usr/lib/arm-linux-gnueabi/libxcb-xfixes.so.0 (0x2ac00000)
    libxcb.so.1 => /usr/lib/arm-linux-gnueabi/libxcb.so.1 (0x2ac24000)
    libgbm.so.1 => /usr/lib/arm-linux-gnueabi/libgbm.so.1 (0x2b965000)
    libudev.so.0 => /lib/arm-linux-gnueabi/libudev.so.0 (0x2b971000)
    libdrm.so.2 => /usr/lib/arm-linux-gnueabi/libdrm.so.2 (0x2b983000)
    libwayland-client.so.0 => /usr/lib/arm-linux-gnueabi/libwayland-client.so.0 (0x2b992000)
    libwayland-server.so.0 => /usr/lib/arm-linux-gnueabi/libwayland-server.so.0 (0x2b9a0000)
    libXdamage.so.1 => /usr/lib/arm-linux-gnueabi/libXdamage.so.1 (0x2b9af000)
    libXfixes.so.3 => /usr/lib/arm-linux-gnueabi/libXfixes.so.3 (0x2b9b9000)
    libXext.so.6 => /usr/lib/arm-linux-gnueabi/libXext.so.6 (0x2b9c5000)
    libXau.so.6 => /usr/lib/arm-linux-gnueabi/libXau.so.6 (0x2aad5000)
    libXdmcp.so.6 => /usr/lib/arm-linux-gnueabi/libXdmcp.so.6 (0x2b9d8000)
    libffi.so.6 => /usr/lib/arm-linux-gnueabi/libffi.so.6 (0x2b9e4000)
undefined symbol: fbDestroyWindow    (/usr/local/qt5/plugins/platforms/libqeglfs.so)
undefined symbol: fbCreateWindow    (/usr/local/qt5/plugins/platforms/libqeglfs.so)
undefined symbol: fbGetDisplayByIndex    (/usr/local/qt5/plugins/platforms/libqeglfs.so)
undefined symbol: fbGetDisplayGeometry    (/usr/local/qt5/plugins/platforms/libqeglfs.so)

I had been referring to https://community.freescale.com/message/324447#324447 where on our target board it is gnome distribution in which xcb binaries are outdated. So we configured with -no-xcb and atttached is the configure line output.

Please suggest in this regard.

Thanks and Regards,
Ramakanth


-----Original Message-----
From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org [mailto:interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam.com at qt-project.org] On Behalf Of Thiago Macieira
Sent: 14 November 2013 22:38
To: interest at qt-project.org
Subject: Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

On quinta-feira, 14 de novembro de 2013 14:11:05, Ramakanthreddy Kesireddy
wrote:
> But when I try to run the application ” ./hellowindow –platform eglfs
> “ then I get below error
>
> ------Application cannot be started because it failed to load qt
> platform plugin “eglfs”---------

Run ldd -d -r on the plugin. Does it complain of any libraries not getting found? Or does it complain or missing symbols?

If it complains about missing libraries, set LD_LIBRARY_PATH to where those libraries are located.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configureoutput.7z
Type: application/octet-stream
Size: 1522 bytes
Desc: configureoutput.7z
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131115/c3b7525c/attachment.obj>


More information about the Interest mailing list