Jansson library version in OpenWrt v19075

Does anyone know what is jansson library version in openWRT v19075?
I got the following version from my device but it did not make sense.
Jansson does not have 2.0.2 version, and it is way too old, about in the year of 2011.

root@OpenWrt:~# ls -al /usr/lib/libj*
lrwxrwxrwx    1 root     root            20 Dec  6  2020 /usr/lib/libjansson.so -> libjansson.so.4.11.1
lrwxrwxrwx    1 root     root            20 Dec  6  2020 /usr/lib/libjansson.so.4 -> libjansson.so.4.11.1
-rwxr-xr-x    1 root     root         36900 Dec  6  2020 /usr/lib/libjansson.so.4.11.1
lrwxrwxrwx    1 root     root            18 Dec  6  2020 /usr/lib/libjson-c.so.2 -> libjson-c.so.2.0.2
-rwxr-xr-x    1 root     root         32788 Dec  6  2020 /usr/lib/libjson-c.so.2.0.2

Thanks

This one ?
[OpenWrt Wiki] package: jansson

1 Like

There's two JSON libraries installed on your system. The file libjson-c.so.2.0.2 belongs to JSON-C, another JSON library.

1 Like

What is /usr/lib/libjansson.so.4.11.1 version? it does not match with jannson v2.12-1.

libjson-c is the javascript object notation library.

The jansson library uses soversion 4 since the 2.0 release:

Note that the soversion of a shared library reflects the compatibility level of the ABI, not the version of the source code it was compiled from.

1 Like

Thanks for your help!
It is clear.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.