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

2.5.1 to 2.6.0 PHP Startup: Unable to load dynamic library 'intl.so'

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 1 Posters 1.2k 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.
  • K
    kjstech
    last edited by Feb 20, 2022, 5:49 AM

    Since upgrading pfSense 2.5.1 to 2.6.0, I'm getting this error on the main page and its also prevalent when SSH to the machine:

    [20-Feb-2022 05:33:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.70" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (/usr/local/lib/php/20190902/intl.so.so: invalid file format)) in Unknown on line 0

    Things seem to be working ok but the traceroute and ping diag pages in the web ui throw this error:
    [20-Feb-2022 00:34:22 EST5EDT] PHP Fatal error: Uncaught Error: Call to undefined function idn_to_utf8() in /usr/local/www/diag_traceroute.php:132
    Stack trace:
    #0 {main}
    thrown in /usr/local/www/diag_traceroute.php on line 132
    Fatal error: Uncaught Error: Call to undefined function idn_to_utf8() in /usr/local/www/diag_ping.php:141 Stack trace: #0 {main} thrown in /usr/local/www/diag_ping.php on line 141 PHP ERROR: Type: 1, File: /usr/local/www/diag_ping.php, Line: 141, Message: Uncaught Error: Call to undefined function idn_to_utf8() in /usr/local/www/diag_ping.php:141 Stack trace: #0 {main} thrown

    I went to the area where that file is shown and its there but also a 0 kb intl.so.so file with a newer date. Any ideas if thats related to the inability to use ping or traceroute in the web UI?
    [2.6.0-RELEASE][root@pfSense.local]/usr/local/lib/php/20190902: ls -lah
    total 2343
    drwxr-xr-x 2 root wheel 38B Feb 20 00:21 .
    drwxr-xr-x 4 root wheel 4B Apr 18 2021 ..
    -rw-r--r-- 1 root wheel 38K Jan 12 10:34 bcmath.so
    -rw-r--r-- 1 root wheel 22K Jan 12 10:47 bz2.so
    -rw-r--r-- 1 root wheel 12K Jan 12 10:44 ctype.so
    -rw-r--r-- 1 root wheel 95K Jan 12 10:33 curl.so
    -rw-r--r-- 1 root wheel 182K Jan 12 10:29 dom.so
    -rw-r--r-- 1 root wheel 43K Jan 12 10:46 filter.so
    -rw-r--r-- 1 root wheel 14K Jan 12 10:47 gettext.so
    -rw-r--r-- 1 root wheel 453K Jan 12 10:47 intl.so
    -rw------- 1 root wheel 0B Feb 20 00:21 intl.so.so

    -rw-r--r-- 1 root wheel 43K Jan 12 10:45 json.so
    -rw-r--r-- 1 root wheel 88K Jan 12 10:46 ldap.so
    -rw-r--r-- 1 root wheel 1.0M Jan 12 10:32 mbstring.so
    -rw-r--r-- 1 root wheel 40K Jan 12 10:28 mcrypt.so
    -rw-r--r-- 1 root wheel 556K Jan 12 10:44 opcache.so
    -rw-r--r-- 1 root wheel 185K Jan 12 10:31 openssl.so
    -rw-r--r-- 1 root wheel 32K Jan 12 10:38 pcntl.so
    -rw-r--r-- 1 root wheel 105K Jan 12 10:32 pdo.so
    -rw-r--r-- 1 root wheel 27K Jan 12 11:18 pdo_sqlite.so
    -rw-r--r-- 1 root wheel 115K Jan 12 10:45 pfSense.so
    -rw-r--r-- 1 root wheel 33K Jan 12 10:48 posix.so
    -rw-r--r-- 1 root wheel 49K Jan 12 10:33 radius.so
    -rw-r--r-- 1 root wheel 31K Jan 12 10:46 readline.so
    -rw-r--r-- 1 root wheel 32K Jan 12 10:29 rrd.so
    -rw-r--r-- 1 root wheel 93K Jan 12 10:38 session.so
    -rw-r--r-- 1 root wheel 11K Jan 12 10:48 shmop.so
    -rw-r--r-- 1 root wheel 56K Jan 12 10:42 simplexml.so
    -rw-r--r-- 1 root wheel 90K Jan 12 10:47 sockets.so
    -rw-r--r-- 1 root wheel 52K Jan 12 11:18 sqlite3.so
    -rw-r--r-- 1 root wheel 15K Jan 12 10:46 sysvmsg.so
    -rw-r--r-- 1 root wheel 9.8K Jan 12 10:40 sysvsem.so
    -rw-r--r-- 1 root wheel 13K Jan 12 10:38 sysvshm.so
    -rw-r--r-- 1 root wheel 21K Jan 12 10:29 tokenizer.so
    -rw-r--r-- 1 root wheel 51K Jan 12 10:26 xml.so
    -rw-r--r-- 1 root wheel 32K Jan 12 10:40 xmlreader.so
    -rw-r--r-- 1 root wheel 46K Jan 12 10:43 xmlwriter.so
    -rw-r--r-- 1 root wheel 47K Jan 12 10:26 zlib.so

    1 Reply Last reply Reply Quote 0
    • K
      kjstech
      last edited by Feb 20, 2022, 5:58 AM

      I found another thread, same issue with someone who went from 2.5.1 to 2.5.2. They did this so I gave it a shot. So far so good and the ping and traceroute web pages work again....

      pkg unlock icu
      pkg delete -f icu
      pkg install -yf icu

      I remember now I had pkg icu locked becuase it had issues with running Ubiquiti Unifi on pfSense. I can still hit the unifi page on port 8443 so it seems that upgrading from icu: 69.1,1 to icu: 70.1_1,1 is still allowing unifi to work alongside pfSense.

      1 Reply Last reply Reply Quote 0
      • J jimp moved this topic from Problems Installing or Upgrading pfSense Software on Feb 22, 2022, 1:09 PM
      • D DominikHoffmann referenced this topic on Nov 6, 2023, 8:05 PM
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received