[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    problem solved :: can not find -lperl
From:       <deepak.sachan () deal ! drdo ! in>
Date:       2017-01-16 4:52:48
Message-ID: 1122995879.41662.1484541648519.JavaMail.root () 127 ! 0 ! 0 ! 1
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]


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
   


[Attachment #5 (text/html)]

<HTML><HEAD><META content="text/html; charset=x-user-defined" \
http-equiv="Content-Type"><style type="text/css"><!--.MailHeader { font-family: \
"Arial"; font-size: 8pt; color: #000000; font-style: normal; font-weight: normal; \
text-decoration: none; }//--></style></HEAD><BODY><STYLE \
TYPE="text/css"><!--.MailHeader { font-family: "Arial"; font-size: 8pt; color: \
#000000; font-style: normal; font-weight: normal; text-decoration: none; }//--> \
</STYLE> <br >Hello friends<br >During net-snmp installation following error message \
shows. I think this must some library linking issue.<br >Need help to resolve this<br \
><br ><br >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&nbsp;&nbsp; -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&nbsp; -O2 -fstack-protector -Wl,-E \
> -fstack-protector&nbsp;&nbsp; -Wl,-soname -Wl,libnetsnmpagent.so.30 -o \
> .libs/libnetsnmpagent.so.30.0.3<br >/usr/bin/ld: cannot find -lperl<br >collect2: \
> error: ld returned 1 exit status<br >make[1]: *** [libnetsnmpagent.la] Error 1<br \
> >make[1]: Leaving directory `/home/deepak/Desktop/net-snmp-5.7.3/agent&#39;<br \
> > >make: *** [subdirs] Error 1<br ><br ><br ><SPAN STYLE="font-size:16px;">By doing \
> > > some googling I resolved this problem&nbsp; by symbolic linking<br >$ sudo ln \
> > > -s /usr/lib/libperl.so.5.18&nbsp; /usr/lib/libperl.so</SPAN><br ><br ><br \
> > > >&nbsp; &nbsp;</BODY></HTML><img \
> > > > src=https://hqr.drdo.in:4498/images/drdologo_footer1.jpg /><br/><br/> The \
> > > > contents of this Email communication are confidential to the addressee. If \
> > > > you<br/> are not the intended recipient you may not disclose or distribute \
> > > > this communication <br/> in any form should immediately contact the sender. \
> > > > The information, images, documents<br/> and views expressed in this Email are \
> > > > personal to the Sender and do not expressly or<br/> implicitly represent \
> > > > official positions of DRDO and no authority exists on behalf of <br/> DRDO to \
> > > > make any agreements, or other binding commitment by means of Email.<br/>
<br>



------------------------------------------------------------------------------
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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic