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

    SG-3100 and 2.5.0 (20190411.1933) - Lots of "Unable to load dynamic library" errors?

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    3 Posts 3 Posters 509 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.
    • V
      victorhooi
      last edited by

      I have a Netgate SG-3100, and I thought I'd try 2.5.0 to see the current state.

      I flashed the device to to 2.4.4-p2 using the factory image, setup my WAN connection, then did an update to 2.5.0.a.20190411.1933. (I had to use the console to do the update, after setting it to DEVEL, as the web UI seemed to stall at initialising).

      However, after the update, I am getting error messages like this:

      Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20180731/opcache.so (Cannot open "/usr/local/lib/php/20180731/opcache.so"), /usr/local/lib/php/20180731/opcache.so.so (Cannot open "/usr/local/lib/php/20180731/opcache.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'session.so' (tried: /usr/local/lib/php/20180731/session.so (Cannot open "/usr/local/lib/php/20180731/session.so"), /usr/local/lib/php/20180731/session.so.so (Cannot open "/usr/local/lib/php/20180731/session.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'bcmath.so' (tried: /usr/local/lib/php/20180731/bcmath.so (Cannot open "/usr/local/lib/php/20180731/bcmath.so"), /usr/local/lib/php/20180731/bcmath.so.so (Cannot open "/usr/local/lib/php/20180731/bcmath.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'bz2.so' (tried: /usr/local/lib/php/20180731/bz2.so (Cannot open "/usr/local/lib/php/20180731/bz2.so"), /usr/local/lib/php/20180731/bz2.so.so (Cannot open "/usr/local/lib/php/20180731/bz2.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'ctype.so' (tried: /usr/local/lib/php/20180731/ctype.so (Cannot open "/usr/local/lib/php/20180731/ctype.so"), /usr/local/lib/php/20180731/ctype.so.so (Cannot open "/usr/local/lib/php/20180731/ctype.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lib/php/20180731/curl.so (Cannot open "/usr/local/lib/php/20180731/curl.so"), /usr/local/lib/php/20180731/curl.so.so (Cannot open "/usr/local/lib/php/20180731/curl.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'dom.so' (tried: /usr/local/lib/php/20180731/dom.so (Cannot open "/usr/local/lib/php/20180731/dom.so"), /usr/local/lib/php/20180731/dom.so.so (Cannot open "/usr/local/lib/php/20180731/dom.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'filter.so' (tried: /usr/local/lib/php/20180731/filter.so (Cannot open "/usr/local/lib/php/20180731/filter.so"), /usr/local/lib/php/20180731/filter.so.so (Cannot open "/usr/local/lib/php/20180731/filter.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'gettext.so' (tried: /usr/local/lib/php/20180731/gettext.so (Cannot open "/usr/local/lib/php/20180731/gettext.so"), /usr/local/lib/php/20180731/gettext.so.so (Cannot open "/usr/local/lib/php/20180731/gettext.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'hash.so' (tried: /usr/local/lib/php/20180731/hash.so (Cannot open "/usr/local/lib/php/20180731/hash.so"), /usr/local/lib/php/20180731/hash.so.so (Cannot open "/usr/local/lib/php/20180731/hash.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'json.so' (tried: /usr/local/lib/php/20180731/json.so (Cannot open "/usr/local/lib/php/20180731/json.so"), /usr/local/lib/php/20180731/json.so.so (Cannot open "/usr/local/lib/php/20180731/json.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'ldap.so' (tried: /usr/local/lib/php/20180731/ldap.so (Cannot open "/usr/local/lib/php/20180731/ldap.so"), /usr/local/lib/php/20180731/ldap.so.so (Cannot open "/usr/local/lib/php/20180731/ldap.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'mbstring.so' (tried: /usr/local/lib/php/20180731/mbstring.so (Cannot open "/usr/local/lib/php/20180731/mbstring.so"), /usr/local/lib/php/20180731/mbstring.so.so (Cannot open "/usr/local/lib/php/20180731/mbstring.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/20180731/mcrypt.so (Cannot open "/usr/local/lib/php/20180731/mcrypt.so"), /usr/local/lib/php/20180731/mcrypt.so.so (Cannot open "/usr/local/lib/php/20180731/mcrypt.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /usr/local/lib/php/20180731/openssl.so (Cannot open "/usr/local/lib/php/20180731/openssl.so"), /usr/local/lib/php/20180731/openssl.so.so (Cannot open "/usr/local/lib/php/20180731/openssl.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'pcntl.so' (tried: /usr/local/lib/php/20180731/pcntl.so (Cannot open "/usr/local/lib/php/20180731/pcntl.so"), /usr/local/lib/php/20180731/pcntl.so.so (Cannot open "/usr/local/lib/php/20180731/pcntl.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'pdo.so' (tried: /usr/local/lib/php/20180731/pdo.so (Cannot open "/usr/local/lib/php/20180731/pdo.so"), /usr/local/lib/php/20180731/pdo.so.so (Cannot open "/usr/local/lib/php/20180731/pdo.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'pfSense.so' (tried: /usr/local/lib/php/20180731/pfSense.so (Cannot open "/usr/local/lib/php/20180731/pfSense.so"), /usr/local/lib/php/20180731/pfSense.so.so (Cannot open "/usr/local/lib/php/20180731/pfSense.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'posix.so' (tried: /usr/local/lib/php/20180731/posix.so (Cannot open "/usr/local/lib/php/20180731/posix.so"), /usr/local/lib/php/20180731/posix.so.so (Cannot open "/usr/local/lib/php/20180731/posix.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'radius.so' (tried: /usr/local/lib/php/20180731/radius.so (Cannot open "/usr/local/lib/php/20180731/radius.so"), /usr/local/lib/php/20180731/radius.so.so (Cannot open "/usr/local/lib/php/20180731/radius.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'readline.so' (tried: /usr/local/lib/php/20180731/readline.so (Cannot open "/usr/local/lib/php/20180731/readline.so"), /usr/local/lib/php/20180731/readline.so.so (Cannot open "/usr/local/lib/php/20180731/readline.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'rrd.so' (tried: /usr/local/lib/php/20180731/rrd.so (Cannot open "/usr/local/lib/php/20180731/rrd.so"), /usr/local/lib/php/20180731/rrd.so.so (Cannot open "/usr/local/lib/php/20180731/rrd.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'shmop.so' (tried: /usr/local/lib/php/20180731/shmop.so (Cannot open "/usr/local/lib/php/20180731/shmop.so"), /usr/local/lib/php/20180731/shmop.so.so (Cannot open "/usr/local/lib/php/20180731/shmop.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'simplexml.so' (tried: /usr/local/lib/php/20180731/simplexml.so (Cannot open "/usr/local/lib/php/20180731/simplexml.so"), /usr/local/lib/php/20180731/simplexml.so.so (Cannot open "/usr/local/lib/php/20180731/simplexml.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'sockets.so' (tried: /usr/local/lib/php/20180731/sockets.so (Cannot open "/usr/local/lib/php/20180731/sockets.so"), /usr/local/lib/php/20180731/sockets.so.so (Cannot open "/usr/local/lib/php/20180731/sockets.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'sqlite3.so' (tried: /usr/local/lib/php/20180731/sqlite3.so (Cannot open "/usr/local/lib/php/20180731/sqlite3.so"), /usr/local/lib/php/20180731/sqlite3.so.so (Cannot open "/usr/local/lib/php/20180731/sqlite3.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'sysvmsg.so' (tried: /usr/local/lib/php/20180731/sysvmsg.so (Cannot open "/usr/local/lib/php/20180731/sysvmsg.so"), /usr/local/lib/php/20180731/sysvmsg.so.so (Cannot open "/usr/local/lib/php/20180731/sysvmsg.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'sysvsem.so' (tried: /usr/local/lib/php/20180731/sysvsem.so (Cannot open "/usr/local/lib/php/20180731/sysvsem.so"), /usr/local/lib/php/20180731/sysvsem.so.so (Cannot open "/usr/local/lib/php/20180731/sysvsem.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'sysvshm.so' (tried: /usr/local/lib/php/20180731/sysvshm.so (Cannot open "/usr/local/lib/php/20180731/sysvshm.so"), /usr/local/lib/php/20180731/sysvshm.so.so (Cannot open "/usr/local/lib/php/20180731/sysvshm.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'tokenizer.so' (tried: /usr/local/lib/php/20180731/tokenizer.so (Cannot open "/usr/local/lib/php/20180731/tokenizer.so"), /usr/local/lib/php/20180731/tokenizer.so.so (Cannot open "/usr/local/lib/php/20180731/tokenizer.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20180731/xml.so (Cannot open "/usr/local/lib/php/20180731/xml.so"), /usr/local/lib/php/20180731/xml.so.so (Cannot open "/usr/local/lib/php/20180731/xml.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'xmlwriter.so' (tried: /usr/local/lib/php/20180731/xmlwriter.so (Cannot open "/usr/local/lib/php/20180731/xmlwriter.so"), /usr/local/lib/php/20180731/xmlwriter.so.so (Cannot open "/usr/local/lib/php/20180731/xmlwriter.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'zlib.so' (tried: /usr/local/lib/php/20180731/zlib.so (Cannot open "/usr/local/lib/php/20180731/zlib.so"), /usr/local/lib/php/20180731/zlib.so.so (Cannot open "/usr/local/lib/php/20180731/zlib.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'zmq.so' (tried: /usr/local/lib/php/20180731/zmq.so (Cannot open "/usr/local/lib/php/20180731/zmq.so"), /usr/local/lib/php/20180731/zmq.so.so (Cannot open "/usr/local/lib/php/20180731/zmq.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/local/lib/php/20180731/pdo_sqlite.so (Cannot open "/usr/local/lib/php/20180731/pdo_sqlite.so"), /usr/local/lib/php/20180731/pdo_sqlite.so.so (Cannot open "/usr/local/lib/php/20180731/pdo_sqlite.so.so")) in Unknown on line 0
      
      Warning: PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20180731/xmlreader.so (Cannot open "/usr/local/lib/php/20180731/xmlreader.so"), /usr/local/lib/php/20180731/xmlreader.so.so (Cannot open "/usr/local/lib/php/20180731/xmlreader.so.so")) in Unknown on line 0
      
      Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
      Stack trace:
      #0 /etc/inc/functions.inc(32): require_once()
      #1 /etc/inc/notices.inc(24): require_once('/etc/inc/functi...')
      #2 /etc/inc/config.inc(49): require_once('/etc/inc/notice...')
      #3 /etc/rc.banner(24): require_once('/etc/inc/config...')
      #4 {main}
        thrown in /etc/inc/certs.inc on line 46
      
       0) Logout (SSH only)                  9) pfTop
       1) Assign Interfaces                 10) Filter Logs
       2) Set interface(s) IP address       11) Restart webConfigurator
       3) Reset webConfigurator password    12) PHP shell + pfSense tools
       4) Reset to factory defaults         13) Update from console
       5) Reboot system                     14) Enable Secure Shell (sshd)
       6) Halt system                       15) Restore recent configuration
       7) Ping host                         16) Restart PHP-FPM
       8) Shell
      
      Enter an option: 
      

      I had a quick search on this forum, and couldn't find a similar issues.

      I'm happy to file on Redmine, but the blog post said to post about it here first.

      Any ideas on what's going on?

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

        It must not have upgraded all the way. Something caused the upgrade to fail partway in.

        If you happened to record the console output of the entire upgrade session, the answer would probably be there.

        Most likely it's the same issue others are hitting here: https://redmine.pfsense.org/issues/9431

        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
          maverick_slo
          last edited by

          Yeah it is.
          I got the same trying to upgrade yesterday :/

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