Issue :

On a FreeBSD server with cpanel as the control panel, if mail is not working & you get the following error on restarting exim

server28# /scripts/restartsrv_exim
/libexec/ld-elf.so.1: Shared object “libperl.so” not found, required by “exim”
/libexec/ld-elf.so.1: Shared object “libperl.so” not found, required by “exim”
server28#

Cause :

This error may be caused by a recent cPanel upgrade (upcp).

Fix :

Reinstalling exim did not fix the issue. In one particular case, this was resolved by reinstalling exim from FreeBSD ports.

This problem can be fixed by running the following command :

/usr/local/bin/perl-after-upgrade -f

If this does not fix the issue then try

ln -s /usr/local/cpanel/perl/libperl.so /usr/local/lib


Shares
Contact Us On WhatsApp