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

Warning: PHP Startup: Unable to load dynamic library

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
3 Posts 3 Posters 1.1k 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.
  • C
    clarknova
    last edited by Jun 1, 2018, 2:17 PM

    2.3.5-RELEASE (amd64)
    built on Mon Oct 30 11:08:06 CDT 2017
    FreeBSD 10.3-RELEASE-p22

    I just used the auto upgrade feature from the UI to upgrade from 2.1.3 to 2.3.5. Now any time the console updates, I get the following output mingled with the expected output:

    Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/curl.so' - Shared object "libssl.so.8" not found, required by "libcurl.so.4" in Unknown on line 0
    
    Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/ldap.so' - Shared object "libssl.so.8" not found, required by "libldap-2.4.so.2" in Unknown on line 0
    
    Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/openssl.so' - Shared object "libssl.so.8" not found, required by "openssl.so" in Unknown on line 0
    
    Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/sqlite3.so' - /lib/libc.so.7: version FBSD_1.5 required by /usr/local/lib/libsqlite3.so.0 not found in Unknown on line 0
    
    Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20131226/pdo_sqlite.so' - /lib/libc.so.7: version FBSD_1.5 required by /usr/local/lib/libsqlite3.so.0 not found in Unknown on line 0
    

    I found a couple of older forum posts describing similar symptoms. One recommended editing a file that does not appear on this system (/usr/local/etc/php/extensions.ini), and the other recommended a clean install, which is not an option at the moment, as I am currently 1839 km from the hardware and my car's fuel tank is below half.

    Recommendations?

    db

    G 1 Reply Last reply Jun 3, 2018, 11:03 AM Reply Quote 0
    • G
      Gertjan @clarknova
      last edited by Gertjan Jun 3, 2018, 11:03 AM Jun 3, 2018, 11:03 AM

      Some system libs aren't present in /lib/, so it seams to me the upgrade didn't finish completely.
      Did you system rebooted at least ones ?

      You might try to reboot ones more to see if that brings a solution - some core libs might be locked so the newer versions can't be loaded.

      @clarknova said in Warning: PHP Startup: Unable to load dynamic library:

      2.1.3 to 2.3.5.

      When you wait this long, you 'gain' the right to fill up your fuel tank 4 times... ;)

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by kpa Jun 3, 2018, 1:32 PM Jun 3, 2018, 1:31 PM

        There are so many things that can go wrong with such an upgrade that I'd just do a fresh install and restore the configuration from a backup.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received