Configure step fails on Debian Bookworm when using --with-memcached. Running pkg-config for libmemcached expects libcrypto.pc which is not provided by any libmemcached-dev dependency:
# pkg-config --cflags libmemcached
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libcrypto', required by 'libmemcached', not found
It looks like the only solution is to include libssl-dev in Build-Depends as this is the only package in Debian Bookworm that includes the file libcrypto.pc.
Configure step fails on Debian Bookworm when using
--with-memcached
. Runningpkg-config
forlibmemcached
expectslibcrypto.pc
which is not provided by anylibmemcached-dev
dependency:see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038149
It looks like the only solution is to include
libssl-dev
inBuild-Depends
as this is the only package in Debian Bookworm that includes the filelibcrypto.pc
.