problem solved :: can not find -lperl

deepak.sachan deepak.sachan <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello friends
During net-snmp installation following error message shows. I think this must some library linking issue.
Need help to resolve this
up/agentx/.libs/subagent.o mibgroup/utilities/.libs/execute.o mibgroup/utilities/.libs/iquery.o mibgroup/mibII/.libs/vacm_conf.o mibgroup/agentx/.libs/protocol.o mibgroup/agentx/.libs/client.o mibgroup/agentx/.libs/master_admin.o mibgroup/agentx/.libs/agentx_config.o   -Wl,-rpath -Wl,/home/deepak/Desktop/net-snmp-5.7.3/snmplib/.libs ../snmplib/.libs/libnetsnmp.so -L/usr/local/lib -L/usr/lib/perl/5.18/CORE -lperl -ldl -lpthread -lc -lcrypt -lm  -O2 -fstack-protector -Wl,-E -fstack-protector   -Wl,-soname -Wl,libnetsnmpagent.so.30 -o .libs/libnetsnmpagent.so.30.0.3
/usr/bin/ld: cannot find -lperl
collect2: error: ld returned 1 exit status
make[1]: *** [libnetsnmpagent.la] Error 1
make[1]: Leaving directory `/home/deepak/Desktop/net-snmp-5.7.3/agent'
make: *** [subdirs] Error 1
By doing some googling I resolved this problem  by symbolic linking
$ sudo ln -s /usr/lib/libperl.so.5.18  /usr/lib/libperl.so

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.