pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PHP modules broken?



* On 2026-09-11 at 16:16 BST, Andries Annema wrote:

Ok, so that did not bring me the result I had hoped for.

I just updated and rebooted my OmniOS test box:

$ uname -a
SunOS 506omnios 5.11 omnios-r151054-9b67420095b i86pc i386 i86pc

$ beadm list
BE                 Active Mountpoint Space   Policy Created
omniosce-r151054   -      -          834.50K static 2025-11-08 09:40
omniosce-r151054bs NR     /          8.30G   static 2026-09-11 16:43

        libc.so.1 (ILLUMOS_0.57) =>      (version not found)

Ok, so r151054 is too old then unfortunately to continue running trunk packages. You'll need to either:

 - Upgrade OmniOS to r151056 or r151058 (both are stable releases)

 - Downgrade pkgsrc to 2025Q4.

Also, why is this linking problem specific to those gd and imagick modules and not any of the other I reported as installed? Weird.

The ILLUMOS_0.57 requirement comes from here:

  https://github.com/illumos/illumos-gate/blob/master/usr/src/lib/libc/port/mapfile-vers

Specifically this section:

  SYMBOL_VERSION ILLUMOS_0.57 {
    protected:
	localeconv_l;
	wcsftime_l;
	strtof_l;
	strtod_l;
	strtold_l;
	string_to_decimal_l;
  } ILLUMOS_0.56;

This means that those php modules now depend on at least one of these new locale functions.

Sometimes functions are probed during build and used only if available, and sometimes they are a hard requirement (one of the reasons why I need to update the baseline every so often, otherwise the software is simply unavailable). Depending on the build system, and if they are optional, then you may be able to build them yourself.

Unfortunately it looks like these functions were added just days after the r151054 release was branched:

  https://github.com/illumos/illumos-gate/commit/4f2483e5d0c339c7ac30db66a67c108da0b33ca6

and so it just missed out.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index