Unable to build Cyrus

Daniel Gultsch daniel at gultsch.de
Thu Jan 23 06:34:14 EST 2020


Hi,

I’m (suddenly) unable to build Cyrus. I've been building the master
branch in irregular intervals over the last year or so.
My last successful build was on December 28th; but after that I
haven’t been able to. The system libraries haven’t changed since then.

I’m getting the following error:

/usr/bin/ld: warning: libicui18n.so.57, needed by
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libxml2.so,
may conflict with libicui18n.so.64
/usr/bin/ld: warning: libicuuc.so.57, needed by
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libxml2.so,
may conflict with libicuuc.so.64
/usr/bin/ld: warning: libicudata.so.57, needed by
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libxml2.so,
may conflict with libicudata.so.64
imap/ctl_zoneinfo.o: In function `main':
/root/cyrus-imapd/imap/ctl_zoneinfo.c:232: undefined reference to
`xmlGetNextNode'
/root/cyrus-imapd/imap/ctl_zoneinfo.c:234: undefined reference to
`xmlGetNextNode'
/root/cyrus-imapd/imap/ctl_zoneinfo.c:240: undefined reference to
`xmlGetNextNode'
/root/cyrus-imapd/imap/ctl_zoneinfo.c:251: undefined reference to
`xmlGetNextNode'
/root/cyrus-imapd/imap/ctl_zoneinfo.c:253: undefined reference to
`xmlGetNextNode'
collect2: error: ld returned 1 exit status
Makefile:3639: recipe for target 'imap/ctl_zoneinfo' failed


This is a bit weird to me since according to git; the ctl_zoneinfo.c
file hasn’t changed either.

I’m using these commands to build Cyrus:

export CYRUSLIBS=/usr/local/cyruslibs
export PKG_CONFIG_PATH="$CYRUSLIBS/lib/pkgconfig:$PKG_CONFIG_PATH"
export LDFLAGS="-Wl,-rpath,$CYRUSLIBS/lib
-Wl,-rpath,$CYRUSLIBS/lib/x86_64-linux-gnu"
export PATH="$CYRUSLIBS/bin:$CYRUSLIBS/sbin:$CYRUSLIBS/libexec:$PATH"
cd cyrus-imapd
make distclean
git clean -f -x -d
autoreconf -v -i
automake -v -i
./configure --enable-jmap --enable-xapian --enable-http
XAPIAN_CONFIG="$CYRUSLIBS/bin/xapian-config-1.5"
make


I’m happy for any hints on how to resolve that.

cheers
Daniel


More information about the Info-cyrus mailing list