I have just installed NetDB on Debian 8 following the instructions in the file INSTALL.
After that, I try to test if the install is fine by running netdb command from shell.
I have got this error message :
Can't locate NetDB.pm in @INC (you may need to install the NetDB module) (@INC contains: . /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl) at /usr/local/bin/netdb line 48.
BEGIN failed--compilation aborted at /usr/local/bin/netdb line 48.
Can anyone help me to understand what is going wrong ?
Thank you very much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have seen that was not existing in @INC of Perl.
So I added links like this and this has solved the issue : ln -s /opt/netdb/NetDBHelper.pm /usr/share/perl5/NetDBHelper.pm
ln -s /opt/netdb/NetDB.pm /usr/share/perl5/NetDB.pm
:-)
Last edit: Cedric Orzakiewicz 2016-10-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have just installed NetDB on Debian 8 following the instructions in the file INSTALL.
After that, I try to test if the install is fine by running netdb command from shell.
I have got this error message :
Can't locate NetDB.pm in @INC (you may need to install the NetDB module) (@INC contains: . /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl) at /usr/local/bin/netdb line 48.
BEGIN failed--compilation aborted at /usr/local/bin/netdb line 48.
Can anyone help me to understand what is going wrong ?
Thank you very much.
I have seen that was not existing in @INC of Perl.
So I added links like this and this has solved the issue :
ln -s /opt/netdb/NetDBHelper.pm /usr/share/perl5/NetDBHelper.pm
ln -s /opt/netdb/NetDB.pm /usr/share/perl5/NetDB.pm
:-)
Last edit: Cedric Orzakiewicz 2016-10-05
Run these two commands still not work for me. Thanks
Last edit: H. Dao 2018-01-31