Re: Presumably Perl issue with amcheck (and probably the entire package)
Exuvo <[email protected]> Tue, 21 Jun 2022 12:38:33 +0200
| Newsgroups | gmane.comp.archivers.amanda.user |
|---|---|
| Message-ID | <[email protected]> |
Are you sure that you compiled amanda against the very same perl version?
Anton "exuvo" Olsson
[email protected]
On 2022-06-20 18:14, Matthias Wolf wrote:
>
> Hi!
>
> I'm trying to migrate an Amanda 3.5.1 server to a new host. The old one ran under Ubuntu 20.04, the new one has Manjaro 5.15.46-1.
>
> Everything seems to be in place, but amcheck yields a compilation error:
>
> Amanda Tape Server Host Check
> -----------------------------
> NOTE: Holding disk '/etc/amanda/bkpdev/holding': 1339264 MB disk space available, using 1236864 MB
> Can't load '/usr/share/perl5/site_perl/auto/Amanda/Debug/libDebug.so' for module Amanda::Debug: /usr/lib/amanda/libamglue-3.5.1.so: undefined symbol: Perl_newSV_type at /usr/lib/perl5/5.36/core_perl/DynaLoader.pm line 206.
>
> Compilation failed in require at /usr/share/perl5/site_perl/Amanda/Util.pm line 585.
> BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Amanda/Util.pm line 585.
> Compilation failed in require at /usr/lib/amanda/amcheck-device line 25.
> BEGIN failed--compilation aborted at /usr/lib/amanda/amcheck-device line 25.
> NOTE: host info dir '/etc/amanda/bkpdev/curinfo/inet.wot.at' does not exist
> It will be created on the next run
> NOTE: index dir '/etc/amanda/bkpdev/inndex' does not exist
> it will be created on the next run
> NOTE: host info dir '/etc/amanda/bkpdev/curinfo/db.wot.at' does not exist
> It will be created on the next run
> NOTE: host info dir '/etc/amanda/bkpdev/curinfo/forex.wot.at' does not exist
> It will be created on the next run
> Server check took 0.062 seconds
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 3 hosts checked in 1.281 seconds. 0 problems found.
> (brought to you by Amanda 3.5.1)
>
> Both files (/usr/share/perl5/site_perl/auto/Amanda/Debug/libDebug.so & /usr/lib/amanda/libamglue-3.5.1.so) happily exist at their given locations, so I assume, this is a matter of version?
>
> The Perl version installed is 5.36.0-1.
>
> What can I do? Can I patch s.t.? (I don't speak Perl.)
>
> Cheers
> Mat
>