[Bug 269011] lang/php80-extensions: Unable to load dynamic library intl.so

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Jan 2023 16:31:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269011

            Bug ID: 269011
           Summary: lang/php80-extensions: Unable to load dynamic library
                    intl.so
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz@freebsd.org
          Reporter: gspurki@gmail.com
          Assignee: tz@freebsd.org
             Flags: maintainer-feedback?(tz@freebsd.org)

After upgrading to php80/php80-extensions, nextcloud was not able to load
intl.so, however i could fix it by making the following four links:

ln -s /usr/local/lib/libicuio.so.72.1 /usr/local/lib/libicuio.so.71

ln -s /usr/local/lib/libicui18n.so.72.1 /usr/local/lib/libicui18n.so.71

ln -s /usr/local/lib/libicuuc.so.72.1 /usr/local/lib/libicuuc.so.71

ln -s /usr/local/lib/libicudata.so.72.1 /usr/local/lib/libicudata.so.71

That was one of the PHP errors:

PHP Warning:  PHP Startup: Unable to load dynamic library 'intl.so' (tried:
/usr/local/lib/php/20200930/intl.so (Shared object "libicuio.so.71" not found,
required by "intl.so"), /usr/local/lib/php/20200930/intl.so.so (Cannot open
"/usr/local/lib/php/20200930/intl.so.so")) in Unknown on line 0

-- 
You are receiving this mail because:
You are the assignee for the bug.