Please help, Perl Module problem.
Neil Marjoram X 663711
n.marjoram at ee.ucl.ac.uk
Fri Apr 16 04:29:03 EDT 2004
Joe,
Thanks for this, can you tell me which files I need to change. I assume
that you mean cyradm and to change the lines that execute the perl
command.
Thanks,
Neil.
On Thu, 2004-04-15 at 15:55, Joe Rhett wrote:
> Neil, open the files in question and modify the four real lines of the
> script so that you have -I/install/location/lib to where the perl modules are.
>
> This has been an ongoing bug that is indecently easy to fix, but Rob won't
> accept any patches on it. He evidently thinks that installing modules into
> the sitewide perl installation is the right idea. I believe that it's
> plain wrong, and want to use the libraries from the cyrus installation.
> It's a two-line patch, but nobody will accept it.
>
> On Thu, Apr 15, 2004 at 02:54:27PM +0100, 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