Re: can´t compile cyradm

Danny García Hernández danny at danyeltech.com
Mon Sep 22 18:45:10 EDT 2003


ldd command show:

[cyrus at micalet cyrus-imapd-2.2.1-BETA]$ ldd
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so
        libssl.so.2 => /lib/libssl.so.2 (0x40018000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x40046000)
        libc.so.6 => /lib/libc.so.6 (0x4010c000)
        libdl.so.2 => /lib/libdl.so.2 (0x40233000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
[cyrus at micalet cyrus-imapd-2.2.1-BETA]$

I think that i have to problems:

1- Why perl Makefile.PL can´t find my libsasl2 into /opt/lib ?
2- After fix Makefile.PL with the correct path to INCs and LIBs, why i can´t
exceute cyradm?

Thanks
Danny

----- Original Message ----- 
From: "Joakim Ryden" <jryden at thebox.our-own.net>
To: "Danny García Hernández" <danny at danyeltech.com>
Cc: <info-cyrus at lists.andrew.cmu.edu>
Sent: Monday, September 22, 2003 11:55 PM
Subject: Re: can´t compile cyradm


What does
'ldd /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so'
show?

--Jo


On Monday 22 September 2003 15:21, Danny García Hernández wrote:
> Yes, i did it.
>
> My cyrus-imap was compiled with  sasl support. Right now, i need to
compile
> the perl scripts and cyradm administrative tool, and here is the the
> problem. I was looking for into Makefiel.PL and changind the SASL_INC  and
> SASL_LIB values, the compile process finish OK, but executing cyradm i get
> this errors:
>
> [root at micalet cyrus-imapd-2.2.1-BETA]# /usr/bin/cyradm
> Can't load
> '/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so' for
> module Cyrus::IMAP:
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Cyrus/IMAP/IMAP.so:
> undefined symbol: sasl_client_init at
> /usr/lib/perl5/5.6.1/i386-linux/DynaLoader.pm line 206.
>  at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 44.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm line 60.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Shell.pm line 60.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
>
> Any advice will be very appreciated
> Thanks
> Danny
>
> ----- Original Message -----
> From: "Etienne Goyer" <etienne.goyer at linuxquebec.com>
> To: <info-cyrus at lists.andrew.cmu.edu>
> Sent: Monday, September 22, 2003 10:39 PM
> Subject: Re: can´t compile cyradm
>
> > I guess you want to specify "--with-sasl=/opt/include/sasl" or something
> > along that line to ./configure.  Have you tried it ?
> >
> > On Mon, Sep 22, 2003 at 09:28:57PM +0200, Danny García Hernández wrote:
> > > Ken, thank for the first answer to my fisrt problem with cyrus-imapd.
> > >
> > > But i already have the second stone in my way and the name is CYRADM.
>
> The problem is that i have installed cyrus-imap into /opt directory, the
> library are into /opt/lib/sasl2  and the include files are into
> /opt/include/sasl. Then,  i´km trying to compile cyradm following the
> documentation and i can´t, the compiled proccess is getting this message.
>
> > > Note (probably harmless): Not found libsasl2
> > >
> > > Can any one advice with this?
> > >
> > > Thank in advanced
> > > Danny
> >
> > --
> > Etienne Goyer                    Linux Québec Technologies Inc.
> > http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com
>
> !DSPAM:3f6f6e31166561399114306!






More information about the Info-cyrus mailing list