Cyradm from cyrus-imapd-2.2.6 - compile error

victor victor at ambra.ro
Tue Jul 6 19:01:17 EDT 2004


I try:
"cd /home/victor/mail/cyrus-imapd-2.2.6/perl/imap"
"perl Makefile.PL"
"make"

and when I do "make test" the error is:
"Can't load 
'/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so' 
"
"IMAP.so: undefined symbol: db_version"...

The detailed error is down here.
Thank you.


rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib IMAP.o  -o 
blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a 
../../lib/libcyrus_min.a  -lsasl2 -lssl -lcrypto
chmod 755 blib/arch/auto/Cyrus/IMAP/IMAP.so
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.3 "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-imclient....Can't load 
'/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so' 
for module Cyrus::IMAP: 
/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so: 
undefined symbol: db_version at 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
 at t/01-imclient.t line 51
Compilation failed in require at t/01-imclient.t line 51.
BEGIN failed--compilation aborted at t/01-imclient.t line 51.
t/01-imclient....dubious
        Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 153) line 1, near "'int'  
$__val"
        (Missing operator before   $__val?)
t/02-admin.......Can't load 
'/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so' 
for module Cyrus::IMAP: 
/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so: 
undefined symbol: db_version at 
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
 at 
/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/lib/Cyrus/IMAP/Admin.pm 
line 44
Compilation failed in require at 
/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/lib/Cyrus/IMAP/Admin.pm 
line 44.
BEGIN failed--compilation aborted at 
/home/victor/mail/cyrus-imapd-2.2.6/perl/imap/blib/lib/Cyrus/IMAP/Admin.pm 
line 44.
Compilation failed in require at t/02-admin.t line 51.
BEGIN failed--compilation aborted at t/02-admin.t line 51.
t/02-admin.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
FAILED--2 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 255



---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list