cyradm problem on Solaris x86 - help needed

saiful hakim saiful.hakim at ifrance.com
Thu Jan 8 11:18:57 EST 2004


Dear all,
After compiling cyrus-imapd with no problem on solaris x86, I can't make
cyradm work, details below. I have tried all cited in this mailist
archive, but still the same error. Any pointers will be highly
appreciated. 

Configuration :
- cyrus-sasl-2.1.17
- cyrus-imapd-2.1.16
- solaris x86 8 2/02
- perl 5.8.0

Symptom : Error message on cyradm :

Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP
.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: 

Configuration detail of imapd :

# ./configure --with-sasl=/usr/local/lib --with-perl=/usr/local/bin
--with-auth=unix --with-dbdir=/usr/local/BerkeleyDB.3.3 
--with-bdb-libdir=/usr/local/BerkeleyDB.3.3/lib
--with-bdb-incdir=/usr/local/BerkeleyDB.3.3/include 
--with-openssl=/usr/local/ssl --without-ucdsnmp

# make depend
# make all CFLAGS=-O

Perl modules, I have checked everything's there :

# ldd
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP.
so
        libsasl2.so.2 =>         /usr/local/lib/libsasl2.so.2
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2

I have followed of one pointer in this mailist :

# cd /install/cyrus-imapd-2.1.16/perl/imap
# perl Makefile.PL
Note (probably harmless): No library found for -lssl
Note (probably harmless): No library found for -lcrypto
Writing Makefile for Cyrus::IMAP

I have followed again some other pointers on adding -libssl -libcrypto
in the MYEXTLIB section of Makefile.PL but no succeeded, I decided to go
back using original Makefile.PL and hoping that this message is true
"harmless" and continue on make and make install

# make
gcc -B/usr/ccs/bin/ -c  -I../../lib   -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.00\"
-DXS_VERSION=\"1.00\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/i86pc-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
IMAP.o  -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.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
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/cyradm
Manifying blib/man3/Cyrus::IMAP::Admin.3
Manifying blib/man1/cyradm.1
Manifying blib/man3/Cyrus::IMAP.3
Manifying blib/man3/Cyrus::IMAP::Shell.3
Manifying blib/man3/Cyrus::IMAP::IMSP.3

# make install
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /usr/local/bin/cyradm
Writing
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/.pack
list
Appending installation info to
/usr/local/lib/perl5/5.8.0/i86pc-solaris/perllocal.pod

# cyradm
Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP
.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error:
file
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/auto/Cyrus/IMAP/IMAP.
so: symbol SSL_read: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/i86pc-solaris/DynaLoader.pm line 229.
 at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Admin.pm
line 44
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Admin.pm
line 44.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Admin.pm
line 44.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Shell.pm
line 60.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i86pc-solaris/Cyrus/IMAP/Shell.pm
line 60.
Compilation failed in require.
BEGIN failed--compilation aborted.
#

Still no luck it's been a week though, again any pointers will be highly
appreciated.







_____________________________________________________________________
Un mot doux à envoyer? Une sortie ciné à organiser? Faites le en temps
réel avec MSN Messenger! C'est gratuit!   http://ifrance.com/_reloc/m

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France






More information about the Info-cyrus mailing list