On Thu, 15 Jun 2023 at 16:12, Tianon Gravi <tia...@debian.org> wrote:
> 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.

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

Reply via email to