Hello, List, I have been having problems running cyradm, and obviously need to get this going to administer mailboxes (I am using virtual domains).
Based on a Google search which told me I needed to rebuild the stuff in $SOURCEDIR/perl/imap, I attempted to do so. Particulars: OS: Solaris 9 Cyrus-IMAP: 2.2.9 Perl: 5.8.5 Output: > perl Makefile.PL Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Writing Makefile for Cyrus::IMAP > make gcc -B/usr/ccs/bin/ -c -I../../lib -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC "-I/usr/local/lib/perl5/5.8.5/sun4-solaris/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="/usr/local/lib" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib -L/opt/gnu/lib IMAP.o -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a ../../lib/libcyrus_min.a -lsasl2 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 cp cyradm blib/script/cyradm /bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cyradm Manifying blib/man1/cyradm.1 Manifying blib/man3/Cyrus::IMAP::Admin.3 Manifying blib/man3/Cyrus::IMAP::Shell.3 Manifying blib/man3/Cyrus::IMAP.3 Manifying blib/man3/Cyrus::IMAP::IMSP.3 > make test PERL_DL_NONLAZY=1 /bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-imclient....Can't load '/cyrus-imapd-2.2.9/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: ld.so.1: /bin/perl: fatal: relocation error: file /cyrus-imapd-2.2.9/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so: symbol fdatasync: referenced symbol not found at /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 230. 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. dubious Test returned status 255 (wstat 65280, 0xff00) t/02-admin.......Can't load '/cyrus-imapd-2.2.9/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so' for module Cyrus::IMAP: ld.so.1: /bin/perl: fatal: relocation error: file /cyrus-imapd-2.2.9/perl/imap/blib/arch/auto/Cyrus/IMAP/IMAP.so: symbol fdatasync: referenced symbol not found at /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 230. at /cyrus-imapd-2.2.9/perl/imap/blib/lib/Cyrus/IMAP/Admin.pm line 44 Compilation failed in require at /cyrus-imapd-2.2.9/perl/imap/blib/lib/Cyrus/IMAP/Admin.pm line 44. BEGIN failed--compilation aborted at /cyrus-imapd-2.2.9/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. dubious Test returned status 255 (wstat 65280, 0xff00) FAILED--2 test scripts could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 I know nothing of what the first error means, other than it has something to do with ld.so.1, which, I am assuming (being very green) is a linking error to something. The second, fdatasync, isn't this a Berkeley macro? I can't remember where it is, db.h? Here are a couple of environment variables: > $LD_LIBRARY_PATH sh: /lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/local/lib/sas l2:/usr/local/lib/ssl/lib: not found > $PATH sh: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/ccs/bin:/usr/ucb: not found Any help would be greatly appreciated. TIA, H. Scott Brown --- 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