Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem running Qt Embedded Application
Forum Updated to NodeBB v4.3 + New Features

Problem running Qt Embedded Application

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 3 Posters 3.6k 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.
  • E Offline
    E Offline
    eko_1
    wrote on last edited by
    #1

    Hi all,

    I am new to QT embedded, I try run my example app but I encounter with following problem, how to solve this problems?

    bq. [root@bit /myapp]# ./hello1 -qws
    ./hello1: /lib/libgcc_s.so.1: version GCC_4.2.0' not found (required by /usr/lib/libQtGui.so.4) ./hello1: /lib/libgcc_s.so.1: version GCC_4.2.0' not found (required by /usr/lib/libQtCore.so.4)
    ./hello1: /lib/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/libQtCore.so.4)
    [root@bit /myapp]#

    lib required???
    [quote]
    @[root@bit /myapp]# LD_DEBUG=all ./hello1
    Application Started at 11/23/2011 15:47:45

    400:
    400: file=libQtGui.so.4; needed by ./hello1
    400: find library=libQtGui.so.4; searching
    400: search path=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/fast-mult/half:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/fast-mult:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/half:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/fast-mult/half:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/fast-mult:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/half:/home/foobar/qt-everywhere-opensource-src-4.7.4/lib (RPATH from file ./hello1)
    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/fast-mult/half/libQtGui.so.4

    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/fast-mult/libQtGui.so.4
    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/half/libQtGui.so.4

    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/v5l/libQtGui.so.4
    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/fast-mult/half/libQtGui.so.4
    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/fast-mult/libQtGui.so.4
    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/half/libQtGui.so.4
    400: trying file=/home/foobar/qt-everywhere-opensource-src-4.7.4/lib/libQtGui.so.4

    .....

    400: file=librt.so.1; needed by /usr/lib/libQtGui.so.4
    400: find library=librt.so.1; searching
    400: search path= (RPATH from file ./hello1)
    400: search cache=/etc/ld.so.cache
    400: search path=/lib:/usr/lib (system search path)
    400: trying file=/lib/librt.so.1
    400:
    400: file=librt.so.1; generating link map
    400: dynamic: 0x4198e07c base: 0x41980000 size: 0x00018fb8
    400: entry: 0x41981abc phdr: 0x41980034 phnum: 6
    400:
    400:
    400: file=libdl.so.2; needed by /usr/lib/libQtCore.so.4
    400: find library=libdl.so.2; searching
    400: search path= (RPATH from file ./hello1)
    400: search cache=/etc/ld.so.cache
    400: search path=/lib:/usr/lib (system search path)
    400: trying file=/lib/libdl.so.2
    400:
    400: file=libdl.so.2; generating link map
    400: dynamic: 0x419a2b9c base: 0x41999000 size: 0x00009db4
    400: entry: 0x4199a9c4 phdr: 0x41999034 phnum: 6
    400:

    400: checking for version GLIBC_2.0' in file /lib/libc.so.6 required by file ./hello1 400: checking for version GCC_3.0' in file /lib/libgcc_s.so.1 required by file ./hello1
    400: checking for version CXXABI_1.3' in file /lib/libstdc++.so.6 required by file ./hello1 400: checking for version GLIBCXX_3.4' in file /lib/libstdc++.so.6 required by file ./hello1
    400: checking for version GLIBC_2.0' in file /lib/libpthread.so.0 required by file /usr/lib/libQtGui.so.4 400: checking for version GLIBC_2.0' in file /lib/libm.so.6 required by file /usr/lib/libQtGui.so.4
    400: checking for version GLIBC_2.1' in file /lib/libm.so.6 required by file /usr/lib/libQtGui.so.4 400: checking for version CXXABI_1.3' in file /lib/libstdc++.so.6 required by file /usr/lib/libQtGui.so.4
    400: checking for version GLIBCXX_3.4' in file /lib/libstdc++.so.6 required by file /usr/lib/libQtGui.so.4 400: checking for version GLIBC_2.1' in file /lib/libc.so.6 required by file /usr/lib/libQtGui.so.4
    400: checking for version GLIBC_2.1.3' in file /lib/libc.so.6 required by file /usr/lib/libQtGui.so.4 400: checking for version GLIBC_2.2' in file /lib/libc.so.6 required by file /usr/lib/libQtGui.so.4
    400: checking for version GLIBC_2.0' in file /lib/libc.so.6 required by file /usr/lib/libQtGui.so.4 400: checking for version GCC_4.2.0' in file /lib/libgcc_s.so.1 required by file /usr/lib/libQtGui.so.4
    Segmentation fault
    [root@bit /myapp]# @
    [/quote]

    1 Reply Last reply
    0
    • L Offline
      L Offline
      luca
      wrote on last edited by
      #2

      Hi,
      what board are you using?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        eko_1
        wrote on last edited by
        #3

        The cpu is LPC3250 from NXP & I using cross compiler arm Qt4.7.4 by following the instructions on this link:

        • "Qt for embedded platforms on LPC3250 - Thumb mode error on make":http://developer.qt.nokia.com/forums/viewthread/7304/

        • "[SOLVED] cross compile arm qt4.7.4 with -debug":http://developer.qt.nokia.com/forums/viewthread/9946/

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rooney
          wrote on last edited by
          #4

          Obviously the libc/glibc version differs from the target to the host.

          I had the same problem, when cross-compiling Qt on Ubuntu 10.04 host and executing the application on a Debian Lenny target.
          To solve the problem, I set up a Debian VM and cross-compiled Qt on a debian host.

          I hope this could solve your problem as well.

          Regards,
          Rooney

          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