-
Notifications
You must be signed in to change notification settings - Fork 325
Description
How to reproduce
- Build your own docker, based on the official php-fpm container image
- add prerequisite packages like
apt-get install libmemcached-dev
- install phar
- install memcached like so:
pickle.phar install memcached
(which currently is memcached-3.2.0)
Expected result (works perfectly fine with PHP 8.1.19 and PHP 8.2.6)
The package gets installed successfully
Actual result
I get the error: #13 2.516 2: checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
I assume this message points into a wrong direction, though. Even if I specify the location (which has never been necessary), using an options-file, the installation process fails, stating there's no libmemcached.h headerfile in the defined directory, but it actually is.
I checked the changelog of PHP 8.1.20 and found an info "Phar: Fixed bug GH-11099 (Generating phar.php during cross-compile can't be done)." that looked like it might be related, but that's where my knowledge ends :-).
Any help or workaround suggestion is greatly appreciated – Thanks in advance!