Results 1 to 4 of 4

Thread: application unable to execute in other systems

  1. #1
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default application unable to execute in other systems

    Hi I have built an application in centOs 6.2 using QT 4.8. But I am unable to run that executable in cent0s 5.3.
    It gives the following error.
    undefined symbol: _ZN13QSharedMemoryC1EP7QObject
    I have installed qt 4.1.2-1 from package manager in centos 5.3 but it still gives the same problem
    how to solve...
    thanks

  2. #2
    Join Date
    May 2011
    Posts
    239
    Thanks
    4
    Thanked 35 Times in 35 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Symbian S60

    Default Re: application unable to execute in other systems

    I don't know anything about this, but I understand that QSharedMemory did not exist in 4.1. People who use it with that version copy its sources from a later Qt release and add it "manually" as part of their own library or application.

  3. #3
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: application unable to execute in other systems

    hi Mvuori
    I followed the instructions given in the below link
    http://doc.qt.digia.com/latest/deployment-x11.html
    I.e I compiled the source in my centos 6.2 system and tried to run the executable in centos 5.3 system.

    The problem I am facing now is glibc 2.7 not found. How to add glibc statically to my application.
    please help
    Thank you

  4. #4
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: application unable to execute in other systems

    The following are the dependences.. How to add all dependences to my project...
    Qt Code:
    1. linux-vdso.so.1 => (0x00007fff57fa8000)
    2. libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007fe6e7ce3000)
    3. libpng12.so.0 => /lib/libpng12.so.0 (0x00007fe6e7abc000)
    4. libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fe6e7873000)
    5. libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fe6e766a000)
    6. libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fe6e744f000)
    7. libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fe6e7244000)
    8. libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fe6e700f000)
    9. libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fe6e6d89000)
    10. libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fe6e6b76000)
    11. libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fe6e6840000)
    12. libz.so.1 => /lib/libz.so.1 (0x00007fe6e6629000)
    13. libdl.so.2 => /lib/libdl.so.2 (0x00007fe6e6424000)
    14. libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fe6e621f000)
    15. librt.so.1 => /lib/librt.so.1 (0x00007fe6e6017000)
    16. libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007fe6e5d38000)
    17. libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe6e5b1b000)
    18. libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fe6e5807000)
    19. libm.so.6 => /lib/libm.so.6 (0x00007fe6e5583000)
    20. libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fe6e536c000)
    21. libc.so.6 => /lib/libc.so.6 (0x00007fe6e4fe9000)
    22. /lib64/ld-linux-x86-64.so.2 (0x00007fe6e7f1e000)
    23. libpcre.so.3 => /lib/libpcre.so.3 (0x00007fe6e4dba000)
    24. libuuid.so.1 => /lib/libuuid.so.1 (0x00007fe6e4bb5000)
    25. libexpat.so.1 => /lib/libexpat.so.1 (0x00007fe6e498c000)
    26. libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fe6e476f000)
    27. libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fe6e456b000)
    28. libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fe6e4364000)
    To copy to clipboard, switch view to plain text mode 

    Thanks

Similar Threads

  1. Execute method on server application.
    By porterneon in forum Newbie
    Replies: 6
    Last Post: 26th July 2011, 13:46
  2. Replies: 2
    Last Post: 24th March 2010, 10:31
  3. Can't execute a Stand Alone Qt Application after compiling
    By aarelovich in forum Qt Programming
    Replies: 5
    Last Post: 8th October 2009, 17:59
  4. How to execute an exe file from Qt application
    By maveric in forum Qt Programming
    Replies: 1
    Last Post: 24th May 2008, 10:24
  5. Unable to execute in Debug Mode
    By Kapil in forum Installation and Deployment
    Replies: 38
    Last Post: 5th April 2006, 07:27

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.