Linux problems



  • 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?



  • 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
    @



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.