Please help, Perl Module problem.

Neil Marjoram X 663711 n.marjoram at ee.ucl.ac.uk
Thu Apr 15 10:32:06 EDT 2004


Some further information :

Cyrus was configured with :

./configure  --with-openssl=/usr/local/ssl  --with-libwrap=/usr/local
--with-sasl=/usr/local

I had to move the sasl header files into the imap source tree under
sasl/ otherwise it complained they were not present.

The configure complained about com_err :
configure: WARNING: Parts of com_err distribuion were found, but not
compile_et.
configure: WARNING: Will build com_err from included sources.

During the compile I only received this error :
Note (probably harmless): No library found for -ldb-4.1


SASL was configured with :
./configure  --with-openssl=/usr/local/ssl  --with-libwrap=/usr/local

There were no complaints whilst building SASL. 


On Thu, 2004-04-15 at 14:54, Neil Marjoram X 663711 wrote:
> Thanks for that, I have now recompiled SASL and imap in the default
> location, it seems the PREFIX is set in the Perl makefile for imap, and
> thus it loads in the Cyrus tree instead of the Perl tree. My recompile
> used default locations and now all is installed where I think it should
> be. How ever it still does not work. 
> 
> Executing the cyradm command now produces this error:
> 
> Can't load
> '/usr/local/lib/perl5/site_perl/5.8.0/sun4-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/sun4-solaris/auto/Cyrus/IMAP/IMAP.so: symbol db_strerror: 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 44
> Compilation failed in require at
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm
> line 44.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Admin.pm
> line 44.
> Compilation failed in require at
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm
> line 60.
> BEGIN failed--compilation aborted at
> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/Cyrus/IMAP/Shell.pm
> line 60.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> 
> I am still getting this error in the auth.log when I attempt to test the
> imap server :
> 
> Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911
> auth.warning] Could not find a dlname line in .la file: libsasldb.la
> Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911
> auth.notice] Bad IPREMOTEPORT value
> Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imap[29026]: [ID 702911
> auth.notice] Bad IPLOCALPORT value
> Apr 15 14:45:35 lowestoft.adastral.ucl.ac.uk imtest[29027]: [ID 702911
> auth.notice] Bad IPLOCALPORT value
> Apr 15 14:47:23 lowestoft.adastral.ucl.ac.uk lmtpunix[29031]: [ID 702911
> auth.warning] Could not find a dlname line in .la file: libsasldb.la
> 
> Anybody any clues ?
> 
> Thanks
> 
> Neil.
> 
> On Thu, 2004-04-15 at 14:21, Heinz Ulrich Stille wrote:
> > On Thursday 15 April 2004 12:37, Neil Marjoram X 663711 wrote:
> > > I have found the Cyrus Perl module located in the directory I installed
> > > cyrus in : /opt/cyrus/lib/perl5/site_perl/5.8.0/sun4-solaris/. How do I
> > > get it installed in the Perl tree?
> > 
> > Did you install cyrus imap from a precompiled package? It should be installed
> > into the perl tree if you compile it yourself. Alternatively set the perl
> > include path (no idea how) or use an utility like "graft" (see freshmeat) to
> > symbolically link it there, that's what I do. (I did compile everything
> > myself, though, including perl.)
> > 
> > No idea about the .la problem.
> > 
> > MfG, Ulrich
> 
> ---
> 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

---
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




More information about the Info-cyrus mailing list