pkgsrc-Users archive

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

Re: PHP modules broken?



Right, that explains things. Thanks for the insight.

Also, you are giving me some options, I appreciate that.
Usually I intend to stay on LTS releases for my server OS's, but in this case I might choose otherwise. I am thinking of asking the OmniOS mailings list whether it's an option to incorpotate this 0.57 requirement in r151054, since that is still in support till 2028-05, but maybe I'd better not bother them and just jump forward.

Downgrading pkgsrc to 2025Q4 until the next LTS release is out, does not feels like the best choice in the long run.

Patrick's suggestion to self-build the required packages is too deep a rabbit hole for my taste. At least at this point in my life.

So I guess I'll test jumping to the latest stable OmniOS release then and see what that brings!
Thanks a bunch for the support and insights, you both!

Cheers,
Andries


On 11-09-2026 17:31, Jonathan Perkin wrote:
* 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.



Home | Main Index | Thread Index | Old Index