Error on spamassassin install

MaartenPol

Verified User
Joined
Jun 29, 2016
Messages
7
I updated my server from CentOS 7 to Almalinux 8. After some hickups I got it working again exept for one thing. I can't get Spamassassin to work. When I try to install it with Custombuild I get the following error:

Code:
Installing spamassassin 3.4.6...
Found /usr/local/directadmin/custombuild/Mail-SpamAssassin-3.4.6.tar.gz
Extracting ...
Done.
Configuring SpamAssassin 3.4.6...
perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBI/DBI.so: undefined symbol: Perl_xs_apiversion_bootcheck

*** There was an error while trying to configure SpamAssassin.

I can't find much info about this error in combination with AlmaLinux or DirectAdmin. I'm a bit clueless. Any ideas?

I'm running Almalinux 8.7
DirectAdmin 1.645
 
Try to install 1.646 RC, there is Spamassassin 4.0 available, maybe that helps.
If it don't help try Rspamd
off topic : did you had problems with the upgrade ? for example with Exim? , my last upgrades from Centos 7 to AL 8 went complete wrong because of that
 
Last edited:
Try to install 1.646 RC, there is Spamassassin 4.0 available, maybe that helps.
If it don't help try Rspamd
off topic : did you had problems with the upgrade ? for example with Exim? , my last upgrades from Centos 7 to AL 8 went complete wrong because of that
Update to 1.646 RC and installing Spamassassin 4.0 doesn't resolve. Same error.

off topic: I did have some issues with Exim (and others), but after a ./build all d all worked.

Additionally, maybe you can try the yum reinstall perl or first yum remove perl and then yum install perl again.

Perl wasn't installed at all, so reinstall and remove didn't work. After a install of Perl it still doesn't work. Still same error
 
Perl wasn't installed at all,
That's odd since this error was thrown:
perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBI/DBI.so:
which gives the impression that something is present on the disk. Normally this points at different perl versions installed.

You could try rSpamd as suggested by Active8, but it would be better if this could be fixed.
 
Switching to rSpamd because of an error doesn't work for me. It should be fixed. After some working on the updated server I found some other glitches and decided to do a reinstall of the server and starting all fresh.
 
to do a reinstall of the server and starting all fresh.
That might be best. Please let us know if the same issue occur again.

As for the fixing... it could be caused by the Centos 7 to Alma 8 migration which is not supported by DA, so in that case it's not their responsibility.
 
Back
Top