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. Unable to install qt 32 bit version on Ubuntu 17.10 64 bit
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 5 Posters 2.9k Views 2 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.
  • F Offline
    F Offline
    fraben
    wrote on 5 Dec 2017, 15:22 last edited by
    #1

    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 :-)

    J 1 Reply Last reply 5 Dec 2017, 15:41
    0
    • F fraben
      5 Dec 2017, 15:22

      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 :-)

      J Online
      J Online
      JonB
      wrote on 5 Dec 2017, 15:41 last edited by JonB 12 May 2017, 15:42
      #2

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

      A 1 Reply Last reply 5 Dec 2017, 20:06
      2
      • J JonB
        5 Dec 2017, 15:41

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

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 5 Dec 2017, 20:06 last edited by
        #3

        @JNBarchan You said it all!

        Qt has to stay free or it will die.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 5 Dec 2017, 20:16 last edited by
          #4

          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

          A 1 Reply Last reply 5 Dec 2017, 20:20
          0
          • S SGaist
            5 Dec 2017, 20:16

            Hi and welcome to devnet,

            What about using your distribution provided Qt in 32bit ?

            A Offline
            A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on 5 Dec 2017, 20:20 last edited by
            #5

            @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
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 5 Dec 2017, 20:23 last edited by
              #6

              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
              1
              • M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 5 Dec 2017, 20:37 last edited by
                #7

                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
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 5 Dec 2017, 20:39 last edited by
                  #8

                  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
                  1
                  • F Offline
                    F Offline
                    fraben
                    wrote on 6 Dec 2017, 12:25 last edited by
                    #9

                    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
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 6 Dec 2017, 22:12 last edited by
                      #10

                      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
                      0

                      1/10

                      5 Dec 2017, 15:22

                      • Login

                      • Login or register to search.
                      1 out of 10
                      • First post
                        1/10
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved