Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. LibEGL.so not found when making examples
Qt 6.11 is out! See what's new in the release blog

LibEGL.so not found when making examples

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi there,
    I'm crosscompiling QT5.3 for an Amlogic board. The configuration for cross-compiling the libs is done using:

    @./configure -v -opengl es2 -device linux-arm-amlogic-8726M-g++ -device-option CROSS_COMPILE=arm-linux-gnueabi- -sysroot /root/rootfs_armel_jessie_lib_ex/ -make libs -opensource -confirm-license -no-xcb@

    I have no problem whatsoever in compiling libraries, and at the end of compilation I correctly find the libQt* in /usr/local/Qt-5.3.0/

    The problem is when I try to compile also the examples using again:

    @./configure -v -opengl es2 -device linux-arm-amlogic-8726M-g++ -device-option CROSS_COMPILE=arm-linux-gnueabi- -sysroot /root/rootfs_armel_jessie_lib_ex/ -make examples -opensource -confirm-license -no-xcb@

    During compilation I have a lot of messages saying:

    @ld: warning: libEGL.so, needed by /root/qt5/qtbase/lib/libQt5Gui.so, not found (try using -rpath or -rpath-link)@

    obviously at the end I also get an error for unresolved symbols even thought libEGL.so is correctly in /usr/lib in the sysroot (libs are compiled fine).
    If I compile libs and examples statically I don't get any error and, of course, playing with -rpath doesn't seem to solve the problem.

    Any idea? Thanks,

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved