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

PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (/usr/local/lib/php/20190902/intl.so.

Scheduled Pinned Locked Moved General pfSense Questions
28 Posts 11 Posters 6.4k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by Jul 19, 2021, 1:05 PM

    Hmm, looks like the upgrade never completed then maybe?

    I would re-install clean and restore the config if you can. It's hard to say what state that system is in. 2.5.2 should have icu-69. Did you try force upgrading the package like I showed above?

    Steve

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jul 19, 2021, 5:35 PM

      If someone still has one in this state, show the output of the following commands:

      1. pkg version -vL=
      2. pkg info -q
      3. pkg check -s |& egrep -v '(Checking all|local/man|share/doc|\.dtd$|\.sample2*$|\.m4$)'

      That last command may still show some other expecting items depending on packages you have installed.

      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
      • B
        bfeitell
        last edited by Jul 20, 2021, 5:39 AM

        I ran into this on a machine that is running the Unifi wifi controller. Reinstalling the Unifi controller pulled in the newer version of ICU. The Unifi installer for pfSense, while fantastically useful, is a bit of a dirty hack, and it has caused me grief on upgrades before.

        For reference: https://github.com/unofficial-unifi/unifi-pfsense/blob/master/README.md

        J 1 Reply Last reply Jul 21, 2021, 3:03 PM Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate @bfeitell
          last edited by Jul 21, 2021, 3:03 PM

          @bfeitell said in PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/lib/php/20190902/intl.so (Shared object "libicuio.so.69" not found, required by "intl.so"), /usr/local/lib/php/20190902/intl.so.so (/usr/local/lib/php/20190902/intl.so.:

          I ran into this on a machine that is running the Unifi wifi controller. Reinstalling the Unifi controller pulled in the newer version of ICU. The Unifi installer for pfSense, while fantastically useful, is a bit of a dirty hack, and it has caused me grief on upgrades before.

          For reference: https://github.com/unofficial-unifi/unifi-pfsense/blob/master/README.md

          It wouldn't surprise me if others in similar situations had similar causes (meaning packages from alternate repositories). If a package from some other source clobbered the "correct" version of icu/intl/whatever then it could be left in a broken state on upgrade.

          Not much we can do about that, though, since that's all up to the end user to manage.

          Still need more information from others before we can say for sure what might have led to that situation.

          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!

          F 1 Reply Last reply Aug 3, 2021, 5:09 AM Reply Quote 1
          • F
            Fry-kun @jimp
            last edited by Aug 3, 2021, 5:09 AM

            @jimp
            I also have the unifi controller installed from that source. I don't think I upgraded it after the pfsense upgrade, I guess it got clobbered before the upgrade then?

            : pkg version -vL=
            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.
            alsa-lib-1.1.2_2                   ?   orphaned: audio/alsa-lib
            boost-libs-1.72.0_3                <   needs updating (remote has 1.72.0_5)
            dejavu-2.37_1                      ?   orphaned: x11-fonts/dejavu
            fontconfig-2.13.92_2,1             <   needs updating (remote has 2.13.93,1)
            icu-68.2,1                         <   needs updating (remote has 69.1,1)
            java-zoneinfo-2021.a               ?   orphaned: java/java-zoneinfo
            javavmwrapper-2.7.6                ?   orphaned: java/javavmwrapper
            libICE-1.0.10,1                    ?   orphaned: x11/libICE
            libSM-1.2.3,1                      ?   orphaned: x11/libSM
            libX11-1.6.12,1                    ?   orphaned: x11/libX11
            libXau-1.0.9                       ?   orphaned: x11/libXau
            libXdmcp-1.1.3                     ?   orphaned: x11/libXdmcp
            libXext-1.3.4,1                    ?   orphaned: x11/libXext
            libXfixes-5.0.3_2                  ?   orphaned: x11/libXfixes
            libXi-1.7.10,1                     ?   orphaned: x11/libXi
            libXrender-0.9.10_2                ?   orphaned: x11/libXrender
            libXt-1.2.0,1                      ?   orphaned: x11-toolkits/libXt
            libXtst-1.2.3_2                    ?   orphaned: x11/libXtst
            libpthread-stubs-0.4               ?   orphaned: devel/libpthread-stubs
            libxcb-1.14_1                      ?   orphaned: x11/libxcb
            mongodb36-3.6.22                   ?   orphaned: databases/mongodb36
            openjdk8-8.282.08.1                ?   orphaned: java/openjdk8
            python37-3.7.9_1                   ?   orphaned: lang/python37
            snappy-1.1.8                       ?   orphaned: archivers/snappy
            snappyjava-1.1.7.5                 ?   orphaned: archivers/snappy-java
            unzip-6.0_8                        ?   orphaned: archivers/unzip
            xorgproto-2020.1                   <   needs updating (remote has 2021.4)
            

            ugh.. guess I'll have to reinstall after all :\

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Aug 3, 2021, 12:53 PM

              It at least sees those updates available. I would probably re-install to be sure you have a clean install but you could try a force re-install for all packages.
              https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#forced-pkg-reinstall

              Steve

              1 Reply Last reply Reply Quote 0
              • L
                lange.ludo
                last edited by Aug 9, 2022, 6:01 AM

                Had the issue when upgrading from 2.5.x to 2.6.0…

                Came to success after enabling « admin » account to enable root privileges over ssh and be able to unlock « icu-68.2,1 » and update it to « icu-70.1_1,1 » :

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

                Trying to « simply » update the « icu » package wasn't working…

                M 1 Reply Last reply Aug 22, 2022, 9:52 PM Reply Quote 1
                • M
                  mcarson75 @lange.ludo
                  last edited by Aug 22, 2022, 9:52 PM

                  @lange-ludo Thanks, I had the same issue upgrading to 2.6.0 and this fixed it for me.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received