[Kea-users] Kea with sysrepo error

Oleg Zharov oleg.zharov77 at gmail.com
Fri May 6 12:54:45 UTC 2022


Hi,



I try to install KEA (master branch) with Sysrepo support and run:

./configure --with-sysrepo



I’ve got an error:

…

checking libyang... yes

checking libyang-cpp... yes

checking sysrepo... yes

checking sysrepo-cpp... no

configure: error: Count not integrate with Sysrepo C++ bindings. Make sure
that the sysrepo-cpp/Session.hpp header and the libsysrepo-cpp.so library
can be found.



But Sysrepo-cpp is installed:

$ ldconfig -p | grep sysrepo

        libsysrepo.so.7 (libc6,x86-64) => /usr/local/lib64/libsysrepo.so.7

        libsysrepo.so (libc6,x86-64) => /usr/local/lib64/libsysrepo.so

        libsysrepo-cpp.so (libc6,x86-64) =>
/usr/local/lib64/libsysrepo-cpp.so



$ ls -la /usr/local/include/sysrepo-cpp/

-rw-r--r--.  1 root root  1028 Apr  8 15:47 Connection.hpp

-rw-r--r--.  1 root root  3316 Apr  8 15:47 Enum.hpp

-rw-r--r--.  1 root root  6021 Apr  8 15:47 Session.hpp

-rw-r--r--.  1 root root 11228 Apr  8 15:47 Subscription.hpp

drwxr-xr-x.  2 root root    44 May  6 14:46 utils



How to let config know where sysrepo is installed?

$ pkg-config --list-all | grep sysrepo

sysrepo-cpp      sysrepo-cpp - C++ bindings for sysrepo

sysrepo          sysrepo - YANG-based system repository for all-around
configuration management

System is rhel7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220506/793b8f42/attachment.htm>


More information about the Kea-users mailing list