Hello Vadim,

i had something like this, only that i use kea 2.7.5.  My problem was, that the hooks had have the wrong version (and path in config file).  In my kea 2.6.1 installatiom under debian 12, the hook directory was under /usr/local/lib/kea/hooks.
Sure, that your hooks are ftom 2.6.1  and not 2.7.5 ?
My kea 2.7.5 installation is also from cloudsmith repo., so it could be, that you have the wrong hooks.

regards
Ralf
Am 18.12.2024 um 22:56 schrieb Vadim Yakovenko:
I'm running kea dhcp 2.6.1

Isc-kea-hooks 2.6.1

When I'm trying to use libdhcp_stat_cmds.so library I'm getting the following message:

2024-12-18 15:46:19.698 ERROR [kea-dhcp4.hooks/7283.135087236168128] HOOKS_OPEN_ERROR failed to open hook library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so: /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so: undefined symbol: _ZN3isc4data7Element6createERKN5boost14multiprecision6numberINS3_8backends15cpp_int_backendILj128ELj128ELNS3_16cpp_integer_typeE1ELNS3_18cpp_int_check_typeE1EvEELNS3_26expression_template_optionE0EEERKNS1_8PositionE 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.dhcp4/7283.135087236168128] DHCP4_PARSER_FAIL failed to create or run parser for configuration element hooks-libraries: hooks libraries failed to validate - library or libraries in error are: /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so (/etc/kea/kea-dhcp4.conf:35:9) 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.dhcp4/7283.135087236168128] DHCP4_CONFIG_LOAD_FAIL configuration error using file: /etc/kea/kea-dhcp4.conf, reason: hooks libraries failed to validate - library or libraries in error are: /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so (/etc/kea/kea-dhcp4.conf:35:9) 2024-12-18 15:46:19.698 ERROR [kea-dhcp4.dhcp4/7283.135087236168128] DHCP4_INIT_FAIL failed to initialize Kea server: configuration error using file '/etc/kea/kea-dhcp4.conf': hooks libraries failed to validate - library or libraries in error are: /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_stat_cmds.so (/etc/kea/kea-dhcp4.conf:35:9)

The package isc-kea-hooks_2.6.1-isc20240725093407_amd64.deb have been downloaded from the cloudsmith repo.
Where can I get a proper package ?

 *
    Vadim.

*
*

-- 
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to