Insecure dependency in require while running with -T switch at /usr/local/share/perl5/Net/DNS/Resolver/Base.pm line 570.


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Email » Spam

Insecure dependency in require while running with -T switch at /usr/local/share/perl5/Net/DNS/Resolver/Base.pm line 570.Last Modified: Dec 14, 2016, 5:11 pm
Some systems have reported a compile error when installing SpamAssassin:

Insecure dependency in require while running with -T switch at /usr/local/share/perl5/Net/DNS/Resolver/Base.pm line 570.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/DNS/Resolver/Base.pm line 570.
Compilation failed in require at (eval 12) line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/DNS/Resolver/UNIX.pm line 18.
Compilation failed in require at (eval 11) line 3.
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/DNS/Resolver.pm line 22.
Compilation failed in require at /usr/local/share/perl5/Net/DNS.pm line 51.
Compilation failed in require at /usr/bin/sa-update line 84.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 84.

It appears going backwards from Net::DNS 1.06 to 1.05 resolves the issue at this time:
http://help.directadmin.com/item.php?id=620&in1=1.05
Future updates of Net::DNS may address the issue.

Related threads:
https://rt.cpan.org/Public/Bug/Display.html?id=114819
https://forum.directadmin.com/showthread.php?t=53650&p=275070#post275070
https://www.centos.org/forums/viewtopic.php?t=58063

Note:
cpan may install some perl settings in:

/root/.bashrc

which would cause all module installs to end up in /root/perl5 instead of /usr/local/share/perl5.   If you run into this problem, edit the /root/.bashrc file, comment out all export perl lines at the bottom (add # in front), then open a brand new ssh window (running 'bash' might still carry over the old environemt variables), then try the Net::DNS 1.05 install again.
 
Related Helpfiles
Install Net::DNS

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST