Asterisk 16.1.1 OpenSuse Leap 15 jansson-bundled will not compile


#1

I run Asterisk on OpenSuse Leap 15. The highest version of libjansson-devel available for this O/S is 2.9 and therefore I have to use --with-jansson-bundled. Configure runs OK and when I ‘make’ the system it correctly compiles the bundled jansson. However it places the compiled files into third-party/jansson/dest/lib64 and when compiling main the loader can’t find ‘json_vsprintf’ because it looks in third-party/jansson/dest/lib. By copying (or linking) dest/lib64 to dest/lib the compile works OK.

This may be something to do with OpenSuse settings but if it is I don’t know where to find them. As the compile finishes OK with this workaround I am assuming the Asterisk will work OK.


#2

I’d suggest filing an issue[1] since bundled should still work regardless on the system. It’s likely that lib64 usage has not been taken into account, and lib is assumed instead.

[1] https://issues.asterisk.org/jira


#3

Thank you. I didn’t know how to submit an issue so the link was what I needed.


#4

There are now fixes for this up on https://gerrit.asterisk.org


#5

I am very impressed with the response to raising this issue. Thank you for your support.