indexdata / yaz

Z39.50 toolkit for C
http://www.indexdata.com/yaz
Other
43 stars 19 forks source link

Configure failure on Debian Bookworm with memcached #121

Closed jakub-id closed 1 month ago

jakub-id commented 1 month ago

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

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038149

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.