For anyone else who had this problem, I found that my NetDB.pm and NetDBHelper.pm were already symlinked. In my case I had to copy the new netdb.cgi.pl to /var/www/cgi-bin and rename it to netdb.pl.