Jansson 2.7 requirement in 2.5.9 breaks RHEL/CentOS 6

Sebastian Hagedorn Hagedorn at uni-koeln.de
Fri Jul 29 03:32:20 EDT 2016


Hi Ellie,

thanks for the quick response! I can confirm that fixes the issue.

I thought there were automatic builds to check for issues like this one. 
Aren't those done for RHEL 6 anymore?

Cheers
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/8a41e5417168b8df53bd7c0cf
> 2071befeebca32b
>
> 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_sta
>> ble.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, Zimmer 2.02
Regionales Rechenzentrum (RRZK)
Universität zu Köln / Cologne University - Tel. +49-221-470-89578
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20160729/df6f9569/attachment.sig>


More information about the Cyrus-devel mailing list