cyradm does not run(solaris 8)

Christian Schulte cs at schulte.it
Tue Apr 22 17:04:39 EDT 2003


Sommariva Graziano wrote:

>hello,
>
>cyradm does not run(solaris 8)
>
>Error:
>xgate.elsag.it# cyradm
>Can't load
>'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IM
>AP.so' for module Cyrus::IMAP: ld.so.1: perl: fatal: relocation error: file
>/usr
>/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so:
>symbol SS
>L_clear: referenced symbol not found at
>/usr/local/lib/perl5/5.8.0/sun4-solaris/
>DynaLoader.pm line 229.
> at /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm
>line 4
>4
>Compilation failed in require at
>/usr/local/lib/perl5/site_perl/5.8.0/sun4-solar
>is/Cyrus/IMAP/Admin.pm line 44.
>BEGIN failed--compilation aborted at
>/usr/local/lib/perl5/site_perl/5.8.0/sun4-s
>olaris/Cyrus/IMAP/Admin.pm line 44.
>Compilation failed in require at
>/usr/local/lib/perl5/site_perl/5.8.0/sun4-solar
>is/Cyrus/IMAP/Shell.pm line 60.
>BEGIN failed--compilation aborted at
>/usr/local/lib/perl5/site_perl/5.8.0/sun4-s
>olaris/Cyrus/IMAP/Shell.pm line 60.
>Compilation failed in require.
>BEGIN failed--compilation aborted.
>xgate.elsag.it#
>
>Any suggestions?
>  
>
As the same user as which you want to run cyradm (su thatuser -) (do not 
forget the hyphen) do:

ldd /local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Cyrus/IMAP/IMAP.so

This will show you all libraries IMAP.so depends on. If it is linked 
against some libraries which could not be found add the path to the 
directory in which the missing libraries are kept to LD_LIBRARY_PATH 
environment variable. To set a general machine default LD_LIBRARY_PATH do

man crle

In your case it seems that you do not have the path to your 
openssl-libraries in your LD_LIBRARY_PATH environment leading to the 
runtime linker not beeing able to relocate IMAP.so because of unfindable 
libraries. Do

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/ssl/lib cyradm xx.xx.xx.xx

if you have installed openssl in /usr/local/ssl (and if openssl are the 
only libraries which cannot be found)


--Christian--





More information about the Info-cyrus mailing list