Jansson 2.7 requirement in 2.5.9 breaks RHEL/CentOS 6

ellie timoney ellie at fastmail.com
Thu Jul 28 20:36:52 EDT 2016


Hi Sebastian,

Thanks for the report.  I've just pushed commit 8a41e54 to the
cyrus-imapd-2.5 branch, which is a back port of master's jansson
backwards-compatibility layer:

https://github.com/cyrusimap/cyrus-imapd/commit/8a41e5417168b8df53bd7c0cf2071befeebca32b

I've tested this with jansson-2.3 and it looks good, so newer versions
should be fine too.  If you're able to, I'd appreciate if you could try
this out and confirm whether it works for your setup.

Cheers,

ellie

On Thu, Jul 28, 2016, at 10:44 PM, Sebastian Hagedorn via Cyrus-devel
wrote:
> Hi,
> 
> I tried to build Cyrus 2.5.9 on CentOS 6 following this guide:
> 
> <http://cyrusimap.org/imap/installation/distributions/centos/current_stable.html#imap-installation-centos-current-stable>
> 
> It fails with this error:
> 
> libtool: link: gcc -fPIC -g -O2 -o imap/.libs/imapd imap/imap_proxy.o 
> imap/imapd.o imap/mutex_fake.o imap/pushstats.o imap/proxy.o 
> master/service.o  sieve/.libs/libcyrus_sieve.so
> imap/.libs/libcyrus_imap.so 
> -luuid /root/cyrus/cyrus-imapd/lib/.libs/libcyrus_min.so 
> /root/cyrus/cyrus-imapd/lib/.libs/libcyrus.so lib/.libs/libcyrus.so 
> lib/.libs/libcyrus_min.so -lxml2 -lical -licalss -licalvcal -lsqlite3 
> -ljansson -lsasl2 -lssl -lcrypto -lwrap -lnsl -lgssapi_krb5 -lkrb5 
> -lk5crypto -lcom_err -lkrb5support -lpcre -lpcreposix -lz
> imap/.libs/libcyrus_imap.so: undefined reference to `json_boolean_value'
> 
> `json_boolean_value'  is new in Jansson 2.7, but CentOS 6 only has
> Jansson 
> 2.6
> -- 
>     .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
>                  .:.Regionales Rechenzentrum (RRZK).:.
>    .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.
> Email had 1 attachment:
> + Attachment2
>   1k (application/pgp-signature)


More information about the Cyrus-devel mailing list