Warning: PHP Startup: Unable to load dynamic library



  • 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?



  • 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... ;)



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


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy