ANSWERED/SOLVED: libssl.so.8 not found - I CAN'T UPDATE FROM 2.34p1



  • SOLUTION:

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

    DONE FROM TERMINAL
    (MAY SEEM LIKE THERE ARE ERRORS BUT NOT SO)

    THEN LATER

    pkg clean -ya
    pkg upgrade
    pkg update -f

    LOGGED IN FROM WEB BROWSER AND ALL IS GOOD!

    –---

    I APOLIGIZE IF I MISSED THE ANSWER ON THIS IF POSTED BY OTHER. I DID LOOK FIRST.

    I always check for updates when I think of doing so. I do so regularily but not on any particular schedule. Usually do pfsense updates from terminal but do addons via browser. I keep an ear out and an eye open. Things have been great and problems few... in the past.

    Tried to update today and I can't. I get the "shared object not found by pkg" message that is apparently refering to shared object libssl.so.8 which is not found and is required. Not found??

    ERROR: It was not possible to identify which pfSense kernel is installed.

    BTW: I run from a full install on an internal ssd-drive.

    ANY HELP IS APPRECIATED. THANK YOU.



  • I had a similar error and fixed it eventually after doing a lot of reading before running the following and before rebooting:

    # pfSense-upgrade
    

    The above command seemed to just install a new kernel.  After reboot I had to reinstall haproxy and that was it.  With hindsight I suspect that removing installed packages (HA proxy and Squid amongst others) and then reinstalling them afterwards may allow the thing to work under these circumstances

    Cheers
    Jon

    (I have a full scrape of the update output if anyone wants it)

    Mine got to this point and then the web GUI hung/broke:

    
    ----------------------------------8<----------------------------------
    
    Loading package instructions...
    
    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/ftp.so' - Shared object "libssl.so.8" not found, required by "ftp.so" 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/ssh2.so' - Shared object "libssl.so.8" not found, required by "libssh2.so.1" 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
    Saving updated package information...
    overwrite!
    Loading package configuration... done.
    Configuring package components...
    Loading package instructions...
    Custom commands...
    Executing custom_php_install_command()...done.
    Executing custom_php_resync_config_command()...done.
    Menu items... done.
    Services... done.
    Writing configuration... done.
    Please visit Services - Avahi menu, enable the service and select which interfaces you do NOT wish Avahi to listen on. Save settings to start the service.[188/191] Upgrading pfSense-default-config-serial from 2.3.4_1 to 2.4.0...
    [188/191] Extracting pfSense-default-config-serial-2.4.0: .. done
    [189/191] Upgrading pfSense-base from 2.3.4_1 to 2.4.0...
    [189/191] Extracting pfSense-base-2.4.0: .. done
    ===> Keeping a copy of current version mtree
    ===> Removing schg flag from base files
    ===> Extracting new base tarball
    
    


  • Final note on the subject. Although my packages were installed, I noticed that snort and pfblockrng wasn't showing in the menus although showed otherwise. I went to the package installer and hit the reinstall icon on those missing and they showed back up in the menu.



  • Thanks for the posts, I did notice that on my machine I needed to install the kernel afterwards. Running the normal update from the console fixed that.