Re: missing libnetsnmpagent

lesly dorval <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I applied net-snmp-Patches-1866823.  
Then I ran: 
    rpmbuild -ba SPECS/net-snmp.spec 
1>net-snmp-build.out 2>&1

Warnings that might be significant:

*** Warning: Linking the shared library
libnetsnmpagent.la against the
*** static library
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
is not portable!
rm -fr  .libs/libnetsnmpagent.a
.libs/libnetsnmpagent.la .libs/libnetsnmpagent.lai
.libs/libnetsnmpagent.so .libs/libnetsnmpagent.so.15
.libs/libnetsnmpagent.so.15.1.0
.libs/libnetsnmpagent.so.15.1.0T


Finally the error at the end.

grep:
/usr/src/redhat/SOURCES/net-snmp-5.4.1/agent/libnetsnmpagent.la:
No such file or directory
/bin/sed: can't read
/usr/src/redhat/SOURCES/net-snmp-5.4.1/agent/libnetsnmpagent.la:
No such file or directory
libtool: link:
`/usr/src/redhat/SOURCES/net-snmp-5.4.1/agent/libnetsnmpagent.la'
is not a valid libtool archive
make[1]: *** [libnetsnmpmibs.la] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/net-snmp-5.4.1/agent'
make: *** [subdirs] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.22254
(%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.22254
(%build)



===========================
--- Thomas Anders <[email protected]> wrote:

> lesly dorval wrote:
> > While trying to build an RPM for net-snmp-5.4.1 I
> > received the following error.
> > 
> > SYSTEM: 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22
> 08:32:28
> > EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
> >  ../snmplib/libnetsnmp.la -ldl  
> > grep:
> >
>
/usr/src/redhat/SOURCES/net-snmp-5.4.1/agent/libnetsnmpagent.la:
> > No such file or directory
> 
> What exact steps have you taken and what was the
> output before the errors you've posted?
> 
> 
> +Thomas
> 
> -- 
> Thomas Anders (thomas.anders at blue-cable.de)  
> 
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
> 
> 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.