Skip to content

Commit 5480884

Browse files
committed
Fix missing libhashkit.so in PHP 8.2.30 and 8.3.30 cflinuxfs5 artifacts
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.
1 parent f571f33 commit 5480884

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

manifest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ dependencies:
620620
version:
621621
- name: php
622622
version: 8.2.30
623-
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.2.30_linux_x64_cflinuxfs5_3d17decc.tgz
624-
sha256: 3d17decc998ecda6f9df19b950dc08c8179251b9fecc0d230bb1c7b9aeb8418a
623+
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.2.30_linux_x64_cflinuxfs5_41e17477.tgz
624+
sha256: 41e174771acf804bd7cae041dbf750453405bb9df18d3443b1d5cc2ac3897b92
625625
cf_stacks:
626626
- cflinuxfs5
627627
source: https://php.net/distributions/php-8.2.30.tar.gz
@@ -994,8 +994,8 @@ dependencies:
994994
version:
995995
- name: php
996996
version: 8.3.30
997-
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.3.30_linux_x64_cflinuxfs5_44e09712.tgz
998-
sha256: 44e09712e8d473117929aebb882fcb259fa309377ff50137dd63bf9ecc3eda82
997+
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.3.30_linux_x64_cflinuxfs5_931fc6a2.tgz
998+
sha256: 931fc6a27ef9ba4e65e7d3e1e671243a41d4d0708e8db1e8dc8017e6b639a810
999999
cf_stacks:
10001000
- cflinuxfs5
10011001
source: https://php.net/distributions/php-8.3.30.tar.gz

0 commit comments

Comments
 (0)