Re: net-snmp make error : cannot find -lperl

Rajmohan Banavi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJWm+fFh9j+Pxp22u_CU+d9eWWdtP5_EGOMyZDBhKJRX1CDKrQ@mail.gmail.com>
This indicates that perl is missing on the system. Depending on the package
manager for your system, you can use yum/apt/others to install perl first
and then later try to build net-snmp.

You could also try to build without perl support but you will lose some
utilities

./configure --prefix=/tmp/local/ --with-defaults --disable-embedded-perl
 --without-perl-modules



On Tue, Jan 10, 2017 at 11:35 AM, deepak.sachan deepak.sachan <
[email protected]> wrote:

>
> 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
>
>
>
>
> Thanks
>
>
> The contents of this Email communication are confidential to the
> addressee. If you
> are not the intended recipient you may not disclose or distribute this
> communication
> in any form should immediately contact the sender. The information,
> images, documents
> and views expressed in this Email are personal to the Sender and do not
> expressly or
> implicitly represent official positions of DRDO and no authority exists on
> behalf of
> DRDO to make any agreements, or other binding commitment by means of Email.
>
>
> ------------------------------------------------------------
> ------------------
> 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-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
>
>

------------------------------------------------------------------------------
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-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
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.