jansson icon indicating copy to clipboard operation
jansson copied to clipboard

fixed cmake building soversion is diffrent with automake

Open shouhuanxiaoji opened this issue 11 months ago • 0 comments

OS: fedora 39 Architecture: x86_64

when I use automake to build jansson, the soversion symbol is Version definitions: 1 0x01 0x0d1dca64 libjansson.so.4 2 0x00 0x0d1dca64 libjansson.so.4

but when I use cmake to build jansson, the soversion symbol is Version definitions: 1 0x01 0x0d1dca64 libjansson.so.4 2 0x00 0x03888e44 JANSSON_4

you can use objdump -p libjansson.so.4.14.0 to see the infomation. so I think it is necessary to modify the jansson.sym infomation to make soversion between automake and cmake same.

shouhuanxiaoji avatar Mar 18 '24 08:03 shouhuanxiaoji