#1038149 libmemcached-dev missing depends (recommends?) on libssl-dev for libcrypto.pc

Package:
libmemcached-dev
Source:
libmemcached-dev
Description:
C and C++ client library to the memcached server (development files)
Submitter:
Tianon Gravi
Date:
2023-06-23 23:36:02 UTC
Severity:
normal
#1038149#5
Date:
2023-06-15 23:09:18 UTC
From:
To:
Dear Maintainer,

When running `pkg-config --exists libmemcached` after installing
libmemcached-dev, it returns a non-zero exit code.  When I run strace on
it, I can see that it's looking for libcrypto.pc.

The package currently has "libsasl2-dev" in Depends, which appears to
have a similar relationship declaration in "libmemcached.pc" to the (new
in libmemcached 1.1) relationship to "libcrypto", which makes me thing a
new Depends relationship here is appropriate, but I don't feel strongly
about it either way and think Recommends would be acceptable too. :)

#1038149#10
Date:
2023-06-23 23:33:15 UTC
From:
To:
Feeling sheepish that I used "strace" to figure out the root cause
when pkg-config has a "please, give me error messages" flag I wasn't
aware of that makes the problem (and solution) much clearer:

| $ pkg-config --print-errors --exists -- 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

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4