Re: "undefined symbol: db_version" when installing Cyrus IMAPd (SuSE 8.1)
From: Dan Bent (dbent_at_benefit-systems.com)
Date: 12 Feb 2004 20:13:25 -0800
Henning Dippel <firstname.lastname@example.org> wrote in message news:<email@example.com>...
> I'm currently trying to install Cyrus IMAP-Server 2.2.3 on SuSE 8.1.
> It works fine until I try to install the Perl-Modules from Cyrus:
> /tmp/cyrus-imapd-2.2.3/perl/imap # perl Makefile.pl; make; make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01-imclient....Can't load
> '/tmp/cyrus-imapd-2.2.3/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so' for
> module Cyrus::IMAP:
> undefined symbol: db_version at
> /usr/lib/perl5/5.8.0/i586-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.
> The main problem is "undefined symbol: db_version at
> /usr/lib/perl5/5.8.0/i586-linux-thread-multi/DynaLoader.pm line 229."
> Can someone help me to solve this problem?
> Thanks and greetings,
I'm having the same problem with Cyrus IMAP on FreeBSD 5.1-RELEASE. I
don't know much about perl or C, but tracking down the code
(DynaLoader.pm line 229), reveals this helpful comment:
# Many dynamic extension loading problems will appear to come from
# this section of code: XYZ failed at line 123 of DynaLoader.pm.
# Often these errors are actually occurring in the initialisation
# C code of the extension XS file. Perl reports the error as being
# in this perl code simply because this was the last perl code
# it executed.
for me, this is a dead end, I don't have any idea about where to go
next. I'll be watching this thread to see if a solution is found.