sergey-safarov created an issue (kamailio/kamailio#4446)

### Description

On RHEL 8 based dist I see error
```
-- Checking for module 'hiredis_ssl'
--   Package 'hiredis_ssl', required by 'virtual:world', not found
-- Found SQLite3: /usr/include (found version "3.26.0") 
-- Module db_text has already been added. Skipping...
-- Module db_text has already been added. Skipping...
-- Found ODBC: /usr/lib64/libodbc.so  
-- PCRE2 library not found... looking with pkg-config
-- Checking for module 'libpcre2-8'
--   Found libpcre2-8, version 10.32
-- Found Libev: /lib64/libev.so  
-- Checking for module 'libgcrypt'
--   Package 'libgcrypt', required by 'virtual:world', not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:607 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
  src/modules/gcrypt/CMakeLists.txt:6 (pkg_check_modules)
```
But in the systemd installed `libgcrypt-devel` package without pkgconfig files.
```sh
[root@nout /]# rpm -ql libgcrypt-devel-1.8.5-7.el8.x86_64
/usr/bin/dumpsexp
/usr/bin/hmac256
/usr/bin/libgcrypt-config
/usr/bin/mpicalc
/usr/include/gcrypt.h
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/735dabac142a233d9ef385542cc1c73ad44f11
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/17f561acf8e680216fa3d5c9138aedcadf40d3
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/c747294ac033bbe2a04b39cce8622e7fd21152
/usr/lib64/libgcrypt.so
/usr/share/aclocal/libgcrypt.m4
/usr/share/info/gcrypt.info-1.gz
/usr/share/info/gcrypt.info-2.gz
/usr/share/info/gcrypt.info.gz
/usr/share/licenses/libgcrypt-devel
/usr/share/licenses/libgcrypt-devel/COPYING
/usr/share/man/man1/hmac256.1.gz
``` 
And present `libgcrypt-config`.
```sh
[root@nout /]# /usr/bin/libgcrypt-config --cflags

[root@nout /]# /usr/bin/libgcrypt-config --libs
-lgcrypt -ldl -lgpg-error

```
Could you add a search for `gcrypt` dev files using `libgcrypt-config`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4446
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to