[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: install "libjansson"



On 10/16/18 09:29, sky wrote:
> Hello,
>
> root@vps2:/usr/src/asterisk-16.0.0# ./configure
> ...
> checking for json_sprintf in -ljansson... no
> configure: *** Asterisk requires libjansson >= 2.11 and no system copy
> was found.
> configure: *** Please install the 'libjansson' development package or
> configure: *** use './configure --with-jansson-bundled'
>
> Can you help to install "libjansson"?
>
> Thank you.
>

# apt-cache search libjansson
libjansson-dev - C library for encoding, decoding and manipulating JSON data (dev)
libjansson-doc - C library for encoding, decoding and manipulating JSON data (doc)
libjansson4 - C library for encoding, decoding and manipulating JSON data

apt-get install libjansson-dev

or, as suggested, "use './configure --with-jansson-bundled'"


Reply to: