Navigation

    UBports Robot Logo

    UBports Forum

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

    SOLVED Upgrade OpenSSL to version 1.1.1

    Support
    3
    6
    851
    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.
    • D
      DanVal last edited by

      Hi everyone I am trying to upgrade OpenSSL to version 1.1.0 in a Libertine container.
      The current version is 1.0.2g and if I run apt install openssl it results as the latest.
      I have tried to compile and install manually downloading this version https://www.openssl.org/source/openssl-1.1.1b.tar.gz but when I run the command ./config --prefix=/opt/openssl --openssldir=/opt/openssl/ssl I get the following error

      /usr/bin/env.fakechroot: 1: eval: -march=armv7-a: not found
      /usr/bin/env.fakechroot: 1: eval: -march=armv7-a: not found
      Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/arm-linux-gnueabihf/perl5/5.22 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base .) at ./Configure line 15.
      BEGIN failed--compilation aborted at ./Configure line 15.
      

      Am I using the wrong version maybe?

      dobey 1 Reply Last reply Reply Quote 0
      • dobey
        dobey @DanVal last edited by

        @danval Why do you think you need to upgrade openssl to that version specifically? The security fixes in it were already backported to the 1.0.2g package in Ubuntu.

        But the error is stating that you are missing a necessary perl package. You would need to install it to run the script.

        AppLee D 2 Replies Last reply Reply Quote 0
        • AppLee
          AppLee @dobey last edited by AppLee

          @dobey
          I guess they need support for TLS 1.3 I had the same need at work.
          And I bet 1.1.0 is a typo in the OP

          1 Reply Last reply Reply Quote 0
          • D
            DanVal @dobey last edited by

            @dobey I am coming out of a rabbit hole where I am experimenting with installing homeassistant on my One plus one, which requires the cryptography python package. The package dropped support for older versions of OpenSSL and the installation fails, so I am now trying to install a supported version

            D 1 Reply Last reply Reply Quote 0
            • D
              DanVal @DanVal last edited by

              perl is installed as perl -v returns 5.22.1
              I suspect this version might not include FindBin module for some reason?
              Looks like other people had this issue and missing modue is the suspected culprit.

              D 1 Reply Last reply Reply Quote 0
              • D
                DanVal @DanVal last edited by

                I have solved this by running /usr/bin/perl ./Configure linux-armv4 instead of running ./config. Other than that followed the steps described here

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