Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Unable to install qt 32 bit version on Ubuntu 17.10 64 bit

    General and Desktop
    5
    10
    2450
    Loading More Posts
    • 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.
    • F
      fraben last edited by

      Hi everybody :)
      I am using Ubuntu 17.10 64 bit, but the application i'm trying to compile requires compilation for a 32 bit system (it assumes the long data type is 32 bits).

      I tried running the qt-opensource-linux-x86-5.5.0.run installer which i downloaded from the qt archive, but i get the following error:

      Could not register file downloader for https protocol: QSslSocket::supportsSsl() returns false
      [0] Warning: QSslSocket: cannot call unresolved function d2i_X509
      [0] Warning: QSslSocket: cannot call unresolved function d2i_X509
      [0] Warning: QSslSocket: cannot call unresolved function d2i_X509
      Segmentation fault (core dumped)

      I already had openssl installed on my system, and also installed libssl-dev, but the error persists.

      Is there something else I need to install?
      Should I try with a different way to install it (if there's any, I didn't find one...)?
      Or maybe I should install a 32 bit version of Ubuntu?

      Thanks in advance :-)

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @fraben last edited by JonB

        @fraben
        I know nothing about Qt in this situation, I'm afraid.

        But I did try to build a (non-Qt) C program for 32-bit under Ubuntu 64-bit machine. And I can tell you it was a nightmare, and didn't work, with all the 32-bit stuff you have to install (you have to set up a "32-bit subsystem") and do to convince gcc (64-bit, of course) to produce a 32-bit executable, and then be able to run it.... I gave up.

        So, unless you have done this successfully in the past, think carefully. Unless, that is, any experts here say otherwise....

        aha_1980 1 Reply Last reply Reply Quote 2
        • aha_1980
          aha_1980 Lifetime Qt Champion @JonB last edited by

          @JNBarchan You said it all!

          Qt has to stay free or it will die.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi and welcome to devnet,

            What about using your distribution provided Qt in 32bit ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            aha_1980 1 Reply Last reply Reply Quote 0
            • aha_1980
              aha_1980 Lifetime Qt Champion @SGaist last edited by

              @SGaist said in Unable to install qt 32 bit version on Ubuntu 17.10 64 bit:

              Hi and welcome to devnet,

              What about using your distribution provided Qt in 32bit ?

              He has Ubuntu 64 bit installed...

              Qt has to stay free or it will die.

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                That's when MultiArch comes to play.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 1
                • mrjj
                  mrjj Lifetime Qt Champion last edited by

                  Hi
                  I tried the qt-opensource-linux-x86-5.5.0.run on Mint 17 64 bit
                  and it just ran.

                  Maybe something else is wrong?
                  Should it not say something about not being elf file it was totally unable to start it ?

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    That's likely an OpenSSL 1.1 VS OpenSSL 1.0 issue.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply Reply Quote 1
                    • F
                      fraben last edited by

                      Thanks for the answers and for the welcome :-)

                      In the meantime I downloaded the latest 32 bit Ubuntu version, but I'll make some more attempts before giving up and installing it.

                      Actually I had other issues with the QT 5.5.0 installer, related to libX11, which I was able to fix by installing the i386 version of the libs that were missing.
                      As for the OpenSSL problem, the version I was using was 1.0.2. I uninstalled it and installed the 1.1, but i still have the same error.

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        That was the wrong move, OpenSSL 1.1 broke the ABI and API compared to the 1.0 series however Qt 5.10 will support OpenSSL 1.1.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post