How To Fix perl: symbol lookup error: undefined symbol: Perl_xs_handshake

This was caused by having the PERL5LIB environment variable set.
1 2 3 4 5 6 7 8 9 10 11 12 |
root@server1:/root # /etc/webmin/restart-by-force-kill Force stopping Webmin server in /usr/libexec/webmin /etc/webmin/.stop-init: line 10: kill: (10111) - No such process Starting Webmin server in /usr/libexec/webmin /usr/bin/perl: symbol lookup error: /root/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Net/SSLeay/SSLeay.so: undefined symbol: Perl_ss_handshake root@ server1:/root # unset PERL5LIB root@ server1:/root # /etc/webmin/restart-by-force-kill Force stopping Webmin server in /usr/libexec/webmin /etc/webmin/.stop-init: line 10: kill: (10111) - No such process Starting Webmin server in /usr/libexec/webmin |