pfSense Gold Subscription

Author Topic: libssl.so.7 not found after upgrading to 2.4.0  (Read 562 times)

0 Members and 1 Guest are viewing this topic.

Offline ManuCH

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
libssl.so.7 not found after upgrading to 2.4.0
« on: October 12, 2017, 03:35:25 pm »
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:

Code: [Select]
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:

Code: [Select]
pkg-static update f
pkg-static upgrade f

But the libssl.so.7 error remains.

Any suggestions short of reinstalling everything? Thanks :)

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: libssl.so.7 not found after upgrading to 2.4.0
« Reply #1 on: October 12, 2017, 03:39:32 pm »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline ManuCH

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: libssl.so.7 not found after upgrading to 2.4.0
« Reply #2 on: October 12, 2017, 03:48:48 pm »
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!

Offline DigitalDeviant

  • Jr. Member
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: libssl.so.7 not found after upgrading to 2.4.0
« Reply #3 on: October 12, 2017, 06:41:59 pm »
I'm having the same issue here.

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

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21404
  • Karma: +1437/-26
    • View Profile
Re: libssl.so.7 not found after upgrading to 2.4.0
« Reply #4 on: October 12, 2017, 07:09:10 pm »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline elvisimprsntr

  • Newbie
  • *
  • Posts: 7
  • Karma: +3/-0
    • View Profile
Re: libssl.so.7 not found after upgrading to 2.4.0
« Reply #5 on: October 13, 2017, 11:10:49 am »
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