Asterisk 16.1.1 OpenSuse Leap 15 jansson-bundled will not compile

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.

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

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

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

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