Thank John,

> If you run your amcleanup with ktrace and look at the resulting kdump,
> you might be able to find where the loading process goes wrong (e.g.,
> perhaps something is still trying to load perl 5.14 modules).

It was something dirty in the FreeBSD installer for Amanda,
apparently, it would not remove all previous files, some stuff was
left in /usr/local/libexec/amanda that related to previous version or
Perl, even after fully deinstalling Amanda, recompiling with the new
version of Perl and fully reinstalling: the old libs where still
there.

i resolved it by removing everything by hand.

Thanks again,

olivier

> Olivier Nicole wrote at 21:37 +0700 on Mar 31, 2014:
>  > Jean-Louis,
>  >
>  > On Mon, Mar 31, 2014 at 6:39 PM, Jean-Louis Martineau
>  > <[email protected]> wrote:
>  > > Olivier,
>  > >
>  > > Amanda must use the same perl it was compiled for.
>  > > You must recompile amanda for the perl you installed or re-install the 
> old
>  > > perl.
>  >
>  > I tried that already. Updated perl, updated all perl modules,
>  > updated/recompiled amanda, that's when the problem arised.
>  >
>  > Best regards,
>  >
>  > Olivier
>  >
>  > > Jean-Louis
>  > >
>  > >
>  > > On 03/31/2014 07:25 AM, Olivier Nicole wrote:
>  > >>
>  > >> Hi,
>  > >>
>  > >> After upgrading my system, perl and Amanda won't work together anymore.
>  > >>
>  > >> The symptom is:
>  > >>
>  > >> $ amcleanup
>  > >> Can't load
>  > >> '/usr/local/lib/perl5/site_perl/5.18/auto/Amanda/Debug/libDebug.so' for
>  > >> module Amanda::Debug: /usr/local/lib/amanda/libamglue-3.3.2.so: 
> Undefined
>  > >> symbol "PL_stack_sp" at /usr/local/lib/perl5/5.18/mach/DynaLoader.pm 
> line
>  > >> 190.
>  > >>   at /usr/local/lib/perl5/site_perl/5.18/Amanda/Debug.pm line 11.
>  > >> Compilation failed in require at
>  > >> /usr/local/lib/perl5/site_perl/5.18/Amanda/Config/FoldingHash.pm line 5.
>  > >> BEGIN failed--compilation aborted at
>  > >> /usr/local/lib/perl5/site_perl/5.18/Amanda/Config/FoldingHash.pm line 5.
>  > >> Compilation failed in require at
>  > >> /usr/local/lib/perl5/site_perl/5.18/Amanda/Config.pm line 750.
>  > >> BEGIN failed--compilation aborted at
>  > >> /usr/local/lib/perl5/site_perl/5.18/Amanda/Config.pm line 750.
>  > >> Compilation failed in require at /usr/local/sbin/amcleanup line 25.
>  > >> BEGIN failed--compilation aborted at /usr/local/sbin/amcleanup line 25.
>  > >>
>  > >> I have reinstalled perl as new, maiking sure that any local perl mordule
>  > >> was properly reinstalled; with previous 5.14 i had the same problem:
>  > >>
>  > >> $ perl -v
>  > >>
>  > >> This is perl 5, version 18, subversion 2 (v5.18.2) built for
>  > >> amd64-freebsd-thread-multi
>  > >>
>  > >> Copyright 1987-2013, Larry Wall
>  > >>
>  > >> Perl may be copied only under the terms of either the Artistic License 
> or
>  > >> the
>  > >> GNU General Public License, which may be found in the Perl 5 source kit.
>  > >>
>  > >> Complete documentation for Perl, including FAQ lists, should be found on
>  > >> this system using "man perl" or "perldoc perl".  If you have access to 
> the
>  > >> Internet, point your browser at http://www.perl.org/, the Perl Home 
> Page.
>  > >>
>  > >> Amanda is 3.3.2
>  > >>
>  > >> System is:
>  > >>
>  > >> $ uname -a
>  > >> FreeBSD amanda.cs.ait.ac.th 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #9
>  > >> r263415: Thu Mar 27 12:11:23 ICT 2014
>  > >> [email protected]:/usr/obj/usr/src/sys/GENERIC  amd64
>  > >>
>  > >> Right now, I am at lost about what I should be doing next, any help is
>  > >> gladly welcome.
>  > >>
>  > >> TIA,
>  > >>
>  > >> Olivier
>  > >>
>  > >

Reply via email to