For RHEL 10, build a successful
```
json-c-devel-0.17-4.el10.x86_64
[root@nout /]# rpm -ql json-c-devel
/usr/include/json-c
/usr/include/json-c/arraylist.h
/usr/include/json-c/debug.h
/usr/include/json-c/json.h
/usr/include/json-c/json_c_version.h
/usr/include/json-c/json_config.h
/usr/include/json-c/json_inttypes.h
/usr/include/json-c/json_object.h
/usr/include/json-c/json_object_iterator.h
/usr/include/json-c/json_patch.h
/usr/include/json-c/json_pointer.h
/usr/include/json-c/json_tokener.h
/usr/include/json-c/json_types.h
/usr/include/json-c/json_util.h
/usr/include/json-c/json_visit.h
/usr/include/json-c/linkhash.h
/usr/include/json-c/printbuf.h
/usr/lib64/cmake/json-c
/usr/lib64/cmake/json-c/json-c-config.cmake
/usr/lib64/cmake/json-c/json-c-targets-release.cmake
/usr/lib64/cmake/json-c/json-c-targets.cmake
/usr/lib64/libjson-c.so
/usr/lib64/pkgconfig/json-c.pc
/usr/share/doc/json-c
/usr/share/doc/json-c/ChangeLog
/usr/share/doc/json-c/README
/usr/share/doc/json-c/README.html
/usr/share/doc/json-c/README.md
```
For CentOS 9, build a not successful
```
sh-5.1# rpm -qa | grep json-c-devel
json-c-devel-0.14-11.el9.x86_64
sh-5.1# rpm -ql json-c-devel
/usr/include/json-c
/usr/include/json-c/arraylist.h
/usr/include/json-c/debug.h
/usr/include/json-c/json.h
/usr/include/json-c/json_c_version.h
/usr/include/json-c/json_config.h
/usr/include/json-c/json_inttypes.h
/usr/include/json-c/json_object.h
/usr/include/json-c/json_object_iterator.h
/usr/include/json-c/json_pointer.h
/usr/include/json-c/json_tokener.h
/usr/include/json-c/json_types.h
/usr/include/json-c/json_util.h
/usr/include/json-c/json_visit.h
/usr/include/json-c/linkhash.h
/usr/include/json-c/printbuf.h
/usr/lib64/cmake/json-c
/usr/lib64/cmake/json-c/json-c-config.cmake
/usr/lib64/cmake/json-c/json-c-targets-release.cmake
/usr/lib64/cmake/json-c/json-c-targets.cmake
/usr/lib64/libjson-c.so
/usr/lib64/pkgconfig/json-c.pc
/usr/share/doc/json-c
/usr/share/doc/json-c/ChangeLog
/usr/share/doc/json-c/README
/usr/share/doc/json-c/README.html
/usr/share/doc/json-c/README.md
```
And pkg fils difference
```diff
--- a/usr/lib64/pkgconfig/json-c.pc 2021-09-14 10:57:00.000000000 +0000
+++ b/usr/lib64/pkgconfig/json-c.pc 2025-01-28 09:05:47.726892617 +0000
@@ -5,8 +5,8 @@
Name: json-c
Description: A JSON implementation in C
-Version: 0.14
+Version: 0.17
Requires:
-Libs.private:
+Libs.private: -lm
Libs: -L${libdir} -ljson-c
Cflags: -I${includedir} -I${includedir}/json-c
```
On RHEL also present
```
/usr/include/json-c/json_patch.h
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/4085#issuecomment-2618369608
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/4085/c2618369...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!