Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Libssl.so.7 not found after upgrading to 2.4.0

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    6 Posts 4 Posters 2.8k Views
    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.
    • M
      ManuCH
      last edited by

      So I upgraded my PCEngines APU2 from 2.3.4-p1 to 2.4.0. It was on NanoBSD before, so I followed the instructions to convert to a regular install: https://doc.pfsense.org/index.php/Upgrading_64-bit_NanoBSD_2.3_to_2.4#Script-Assisted_Conversion

      Apparently this didn't work as it broke my "pkg" completely (probably because I was using RAM disks) and I had to fix several things. In the process, however, it seems that I was unable to fix the following:

      Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/ssh2.so' - Shared object "libssl.so.7" not found, required by "libssh2.so.1" in Unknown on line 0
      

      I get this error all the time, over and over. All the Google-fu didn't help in finding a fix, except this: https://redmine.pfsense.org/issues/7500

      I tried the suggestions in there which helped fixing my broken pkg manager:

      pkg-static update –f
      pkg-static upgrade –f
      

      But the libssl.so.7 error remains.

      Any suggestions short of reinstalling everything? Thanks :)

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Did you reboot after running "pkg-status upgrade -f"?

        That file would have come from pecl-ssh2-0-0.13 which is installed by the ACME package, try removing that package from the GUI and then installing it again.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M
          ManuCH
          last edited by

          @jimp:

          Did you reboot after running "pkg-status upgrade -f"?

          That file would have come from pecl-ssh2-0-0.13 which is installed by the ACME package, try removing that package from the GUI and then installing it again.

          Yes, I did reboot but it still brought up the error.

          However I didn't even have the ACME package installed. I installed it from the GUI and now it's fine.

          Thanks a lot for your help!

          1 Reply Last reply Reply Quote 0
          • D
            DigitalDeviant
            last edited by

            I'm having the same issue here.

            PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/ssh2.so' - Shared object "libssl.so.7" not found, required by "libssh2.so.1" in Unknown on line 0

            I don't have ACME installed either. Mine was a normal upgrade from 2.3.4_1 on amd64 hardware.

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Then that ssh2.so file is left over, install ACME and then remove it and it will go away. That file isn't in base anymore, only in the ACME package dependencies.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • E
                elvisimprsntr
                last edited by

                I had same issue and installed from USB stick.  I'm sure there is a less brute force way to accomplish the same thing, but it worked.

                https://forum.pfsense.org/index.php?topic=137993.0

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.