Skip to content

Fix missing libhashkit.so in PHP 8.2.30 and 8.3.30 cflinuxfs5 artifacts#1255

Merged
ivanovac merged 1 commit intomasterfrom
pr-by-releng-bot-1775727592
Apr 14, 2026
Merged

Fix missing libhashkit.so in PHP 8.2.30 and 8.3.30 cflinuxfs5 artifacts#1255
ivanovac merged 1 commit intomasterfrom
pr-by-releng-bot-1775727592

Conversation

@ivanovac
Copy link
Copy Markdown
Contributor

@ivanovac ivanovac commented Apr 14, 2026

On Ubuntu 24.04 (cflinuxfs5), libmemcached was split: libmemcached.so.11 now dynamically links against libhashkit.so.2 (shipped as the separate libhashkit2t64 package). On Ubuntu 22.04 (cflinuxfs4) libhashkit was statically linked, so this dependency was invisible.

setupTar() copied libmemcached.so* but omitted libhashkit.so*, causing memcached.so to fail at runtime:

PHP Startup: Unable to load dynamic library 'memcached.so'
(libhashkit.so.2: cannot open shared object file: No such file or directory)

Both cflinuxfs5 artifacts were manually repacked with libhashkit.so.2.0.0 and relative symlinks added to lib/.

  • php_8.2.30_linux_x64_cflinuxfs5_41e17477.tgz — repacked with libhashkit.so.2.0.0 + relative symlinks
  • php_8.3.30_linux_x64_cflinuxfs5_931fc6a2.tgz — same fix
  • both uploaded to S3 and manifest updated

The root fix is in binary-builder PR #101 (merged) - future PHP builds will include libhashkit automatically.

On Ubuntu 24.04 (cflinuxfs5), libmemcached was split: libmemcached.so.11
now dynamically links against libhashkit.so.2 (shipped as the separate
libhashkit2t64 package). On Ubuntu 22.04 (cflinuxfs4) libhashkit was
statically linked, so this dependency was invisible.

setupTar() copied libmemcached.so* but omitted libhashkit.so*, causing
memcached.so to fail at runtime:

  PHP Startup: Unable to load dynamic library 'memcached.so'
  (libhashkit.so.2: cannot open shared object file: No such file or directory)

Both cflinuxfs5 artifacts were manually repacked with libhashkit.so.2.0.0
and relative symlinks added to lib/. The root fix is in binary-builder
PR #100 (merged) - future PHP builds will include libhashkit automatically.
@ivanovac ivanovac merged commit 8143299 into master Apr 14, 2026
7 checks passed
@ivanovac ivanovac deleted the pr-by-releng-bot-1775727592 branch April 14, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants