Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Linux problems
QtWS25 Last Chance

Linux problems

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.0k Views
  • 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.
  • J Offline
    J Offline
    jocala
    wrote on last edited by
    #1

    I thought to build my program on a 32bit Linux platform and distribute it with just ia32-libs dependencies, but not so fast...it does not work.

    Just in the Ubuntu family alone, I build on Ubuntu 14.04.1 LTS 32 and under 64 I get:
    @
    ldd myapp

    libX11.so.6 => not found
    libX11-xcb.so.1 => not found
    libxcb.so.1 => not found
    libstdc++.so.6 => not found
    libgcc_s.so.1 => not found
    @

    Can I compile these dependencies into my qt static or is there another way that things are done?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      I don't know if you can compile these libraries statically, I guess so.

      Another way would be to install i386 versions of the libraries
      For example the following line should install i386 version of libX11-xcb
      @
      sudo apt-get install libx11-xcb-dev:i386
      @

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jocala
        wrote on last edited by
        #3

        Thanks for the reply.

        http://qt-project.org/doc/qt-5/linux-deployment.html

        The link above has me thinking that it would be easier to just do a compile each for 32/64. I'd appreciate comments from anyone distributing for Linux.

        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