make error - cannot find -lperl
"Barry Leggett" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <001201cb4eec$92e63580$1efea8c0@Server> |
Using Linux 2.6.26-2-686 running on VirtualBox 3.2.8 r64453 on an HP running Windows 7 net-snmp version 5.5 Followed instructions in file INSTALL when I ran "make" I got the following /bin/sh ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -rpath /usr/local/lib -version-info 20:0:0 -o libnetsnmpagent.la snmp_agent.lo snmp_vars.lo agent_read_config.lo agent_registry.lo agent_index.lo agent_sysORTable.lo agent_trap.lo kernel.lo agent_handler.lo mibgroup/snmpv3/usmConf.lo mibgroup/agentx/master.lo mibgroup/agentx/subagent.lo mibgroup/utilities/execute.lo mibgroup/utilities/iquery.lo mibgroup/mibII/vacm_conf.lo mibgroup/agentx/protocol.lo mibgroup/agentx/client.lo mibgroup/agentx/master_admin.lo mibgroup/agentx/agentx_config.lo ../snmplib/libnetsnmp.la -Wl,-E -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt libtool: link: gcc -shared .libs/snmp_agent.o .libs/snmp_vars.o .libs/agent_read_config.o .libs/agent_registry.o .libs/agent_index.o .libs/agent_sysORTable.o .libs/agent_trap.o .libs/kernel.o .libs/agent_handler.o mibgroup/snmpv3/.libs/usmConf.o mibgroup/agentx/.libs/master.o mibgroup/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/barry/mercury/net-snmp-5.5/snmplib/.libs ../snmplib/.libs/libnetsnmp.so -lcrypto -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt -Wl,-E -Wl,-soname -Wl,libnetsnmpagent.so.20 -o .libs/libnetsnmpagent.so.20.0.0 /usr/bin/ld: cannot find -lperl collect2: ld returned 1 exit status make[1]: *** [libnetsnmpagent.la] Error 1 make[1]: Leaving directory `/home/barry/mercury/net-snmp-5.5/agent' make: *** [subdirs] Error 1 barry:/home/barry/mercury/net-snmp-5.5# where should "perl" come from? Barry ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users