[cyrus] Cyradm problem on RH 3 : undefined symbol: db_version :-/

[cyrus] Cyradm problem on RH 3 : undefined symbol: db_version :-/

Post by Andrzej Ad » Mon, 03 May 2004 23:58:00



AFAIR I received similar problem reportd due to linking wrong db library.

In perl/imap library I had to put version of db library in BDB_LIB
enviroment variable when Makefile.PL was executed.

BDB_LIB=-ldb-4.0 perl Makefile.PL
make
make test
make install

--
Andrzej [en:Andrew] Adam Filip XXXX@XXXXX.COM XXXX@XXXXX.COM
http://www.yqcomputer.com/ ://slashdot.org/~anfi
*Random Epigram* :
When women kiss it always reminds one of prize fighters shaking hands.
-- H.L. Mencken, "Sententiae"
 
 
 

[cyrus] Cyradm problem on RH 3 : undefined symbol: db_version :-/

Post by tyui » Tue, 04 May 2004 00:53:47

ndrzej Adam Filip a rit :

Arf :-/ it seems to be better but "make test" fails and after "make
install" the result is the same :(

If you have any other ideas it will help very much ;)


BDB_LIB=-ldb-4.1 perl Makefile.PL

Checking if your kit is complete...
Looks good
Writing Makefile for Cyrus::IMAP


make

cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm
cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm
cp IMAP.pm blib/lib/Cyrus/IMAP.pm
cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap IMAP.xs >
IMAP.xsc && mv IMAP.xsc IMAP.c
gcc -c -I../../lib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g
-pipe -march=i386 -mcpu=i686 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\"
-fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE"
-DPERL_POLLUTE IMAP.c
Running Mkbootstrap for Cyrus::IMAP ()
chmod 644 IMAP.bs
rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so
LD_RUN_PATH="/lib:/usr/lib" gcc -shared -L/usr/local/lib IMAP.o -o
blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a
../../lib/libcyrus_min.a -ldb-4.1 -lsasl2 -lssl -lcrypto
chmod 755 blib/arch/auto/Cyrus/IMAP/IMAP.so
cp IMAP.bs blib/arch/auto/Cyrus/IMAP/IMAP.bs
chmod 644 blib/arch/auto/Cyrus/IMAP/IMAP.bs
cat cyradm.sh >cyradm
chmod a+x cyradm
cp cyradm blib/script/cyradm
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cyradm
Manifying blib/man3/Cyrus::IMAP::Admin.3pm
Manifying blib/man1/cyradm.1
Manifying blib/man3/Cyrus::IMAP.3pm
Manifying blib/man3/Cyrus::IMAP::Shell.3pm
Manifying blib/man3/Cyrus::IMAP::IMSP.3pm


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....ok 1/10
enter an IMAP server to use for testing: localhost
t/01-imclient....NOK 2
Can't call method "_send" on an undefined value at t/01-imclient.t line
81, <STDIN> line 3.
t/01-imclient....dubious
Test returned status 111 (wstat 28416, 0x6f00)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/02-admin.......ok 1/7enter an IMAP server to use for testing: 127.0.0.1
Can't call method "authenticate" on an undefined value at t/02-admin.t
line 72, <STDIN> line 1.
t/02-admin.......dubious
Test returned status 111 (wstat 28416, 0x6f00)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/01-imclient.t 111 28416 10 9 90.00% 2-10
t/02-admin.t 111 28416 7 6 85.71% 2-7
Failed 2/2 test scripts, 0.00% okay. 15/17 subtests failed, 11.76% okay.
make: *** [test_dynamic] Error 2

Thks !

 
 
 

[cyrus] Cyradm problem on RH 3 : undefined symbol: db_version :-/

Post by Andrzej Ad » Tue, 04 May 2004 02:22:00


But now you have a differnet problem :-)

Have you started cyrus imap server ?

You can try to get help via cyrus-info mailing list
http://www.yqcomputer.com/

--
Andrzej [en:Andrew] Adam Filip XXXX@XXXXX.COM XXXX@XXXXX.COM
http://www.yqcomputer.com/ ://slashdot.org/~anfi
*Random Epigram* :
Those who have had no share in the good fortunes of the mighty
Often have a share in their misfortunes.
-- Bertolt Brecht, "The Caucasian Chalk Circle"
 
 
 

[cyrus] Cyradm problem on RH 3 : undefined symbol: db_version :-/

Post by tyui » Tue, 04 May 2004 02:50:27

Andrzej Adam Filip a rit :



I have started it by the following command :
/usr/cyrus/bin/master &

I'm going to suscribe to the cyrus mailing-list, I will ask them.

Thks!!!