Re: "undefined symbol: db_version" when installing Cyrus IMAPd (SuSE 8.1)

From: Dan Bent (dbent_at_benefit-systems.com)
Date: 02/13/04


Date: 12 Feb 2004 20:13:25 -0800

Henning Dippel <newsgroups@henningdippel.de> wrote in message news:<402184d6$0$26041$9b622d9e@news.freenet.de>...
> Hello,
> 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
> Error:
> 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:
> /tmp/cyrus-imapd-2.2.3/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so:
> 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.
> t/01-imclient....dubious
>
> 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,
> Henning

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.



Relevant Pages

  • Re: what is wrong with mex or mbuild
    ... I suspect that you have a bad install. ... Try reinstalling MATLAB. ... # Many dynamic extension loading problems will appear to come from ... # in this perl code simply because this was the last perl code ...
    (comp.soft-sys.matlab)
  • libsdl-gfx1.2 upgrade from 2.0.8-1 to 2.0.9-1
    ... Removing libsdl-gxf and reinstalling (via dpkg) the previous version solved ... libSDL_gfx.so.0: cannot open shared object file: No such file or directory ... 218 # Many dynamic extension loading problems will appear to come from ... 222 # in this perl code simply because this was the last perl code ...
    (Debian-User)