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

    php library intl.so errors after upgrade to pfsense 2.4.4-p1

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.6k 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.
    • Z
      Zeist
      last edited by

      Greetings

      I upgraded directly to 2.4.4-p1 from 2.4.3 and i started to get crash reports with the same repeated php error line:
      [03-Jan-2019 18:26:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20170718/intl.so (/usr/local/lib/libicudata.so.62: invalid file format), /usr/local/lib/php/20170718/intl.so.so (/usr/local/lib/php/20170718/intl.so.so: invalid file format)) in Unknown on line 0

      In my system i found this:

      [2.4.4-RELEASE][admin@xxxx.xxxx.net]/usr/local/lib/php/20170718: ls -larth| grep intl
      -rw-r--r--  1 root  wheel   438K Oct  3 16:28 intl.so
      -rw-------  1 root  wheel     0B Dec 23 20:04 intl.so.so
      [2.4.4-RELEASE][admin@xxxx.xxxx.net]/usr/local/lib/php/20170718: php -v
      Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20170718/intl.so (/usr/local/lib/libicudata.so.62: invalid file format), /usr/local/lib/php/20170718/intl.so.so (/usr/local/lib/php/20170718/intl.so.so: invalid file format)) in Unknown on line 0
      PHP 7.2.10 (cli) (built: Oct  3 2018 14:17:32) ( NTS )
      Copyright (c) 1997-2018 The PHP Group
      Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
          with Zend OPcache v7.2.10, Copyright (c) 1999-2018, by Zend Technologies
      [2.4.4-RELEASE][admin@xxxx.xxxx.net]/usr/local/lib/php/20170718:
      

      I've tried to run:
      pkg-static update -f
      pkg-static install -f pkg
      pkg-static upgrade
      and then reinstall the apps through the web-gui with no avail, i also tried to launch a pfSense-upgrade -d:

      [2.4.4-RELEASE][admin@xxxx.xxxx.net]/usr/local/lib/php/20170718: pfSense-upgrade -d
      
      Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20170718/intl.so (/usr/local/lib/libicudata.so.62: invalid file format), /usr/local/lib/php/20170718/intl.so.so (/usr/local/lib/php/20170718/intl.so.so: invalid file format)) in Unknown on line 0
      >>> Updating repositories metadata... 
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      All repositories are up to date.
      Your packages are up to date
      
      Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20170718/intl.so (/usr/local/lib/libicudata.so.62: invalid file format), /usr/local/lib/php/20170718/intl.so.so (/usr/local/lib/php/20170718/intl.so.so: invalid file format)) in Unknown on line 0
      [2.4.4-RELEASE][admin@xxxx.xxxx.net]/usr/local/lib/php/20170718:
      

      So far the problem persist, suggestions/advices would be appreciated.
      Thank you.

      Regards
      Nicola

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        The quick & easy solution: Just reinstall with Recover config.xml Option: https://www.netgate.com/docs/pfsense/backup/automatically-restore-during-install.html

        -Rico

        1 Reply Last reply Reply Quote 0
        • Z
          Zeist
          last edited by

          It seems the issue was more banal than i thought.
          Removing completely the pfBlockerNG solved the issue, once removed a fresh package installation worked perfectly with no further issues.
          Note: Reinstalling from the Installed Packages tab didn't work, i had to completely remove it.

          Thanks
          Nicola

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