Xymon Mailing List Archive search

hobbit-snmpcollect problem

10 messages in this thread

list Rich Smrcina · Thu, 02 Oct 2008 08:31:28 -0500 ·
I'm having a problem building when I hit this point:

gcc  -o hobbit_snmpcollect hobbit_snmpcollect.o `net-snmp-config --libs` 
../lib/libhobbit.a -L/usr/lib -lz -L/usr/lib -lssl -lcrypto
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
cannot find -lwrap
collect2: ld returned 1 exit status
make[1]: *** [hobbit_snmpcollect] Error 1
make[1]: Leaving directory `/home/hobbit/trunk/bbnet'
make: *** [bbnet-build] Error 2

net-snmp-config --libs returns:

-L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap

Which doesn't seem to be available in the linker on SLES10 SP1.
--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009
list Henrik Størner · Thu, 2 Oct 2008 13:57:57 +0000 (UTC) ·
quoted from Rich Smrcina
In <user-2deba519cae9@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
I'm having a problem building when I hit this point:
gcc  -o hobbit_snmpcollect hobbit_snmpcollect.o `net-snmp-config --libs` 
../lib/libhobbit.a -L/usr/lib -lz -L/usr/lib -lssl -lcrypto
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: 
cannot find -lwrap
collect2: ld returned 1 exit status
make[1]: *** [hobbit_snmpcollect] Error 1
make[1]: Leaving directory `/home/hobbit/trunk/bbnet'
make: *** [bbnet-build] Error 2
net-snmp-config --libs returns:
-L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap
Which doesn't seem to be available in the linker on SLES10 SP1.

This is an Net-SNMP on SLES10 packaging problem. The 'net-snmp-config'
command must provide the necessary options to link applications
against the Net-SNMP libs; if it says it needs libwrap, then that
library must be installed as a prerequisite to the Net-SNMP development
package.

I think libwrap is a TCP-Wrappers library. Check if your SLES10
cd includes a "libwrap" package.


Henrik
list Rich Smrcina · Thu, 02 Oct 2008 09:13:06 -0500 ·
TCP Wrappers is installed and the library is there, it's in /lib:

hobbit at dhobbit:/lib> ll libw*
lrwxrwxrwx 1 root root    16 2008-09-24 13:29 libwrap.so.0 -> libwrap.so.0.7.6
-rwxr-xr-x 1 root root 29464 2006-06-16 08:07 libwrap.so.0.7.6
quoted from Henrik Størner

--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009


Henrik Stoerner wrote:
In <user-2deba519cae9@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
I'm having a problem building when I hit this point:
gcc  -o hobbit_snmpcollect hobbit_snmpcollect.o `net-snmp-config --libs` ../lib/libhobbit.a -L/usr/lib -lz -L/usr/lib -lssl -lcrypto
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lwrap
collect2: ld returned 1 exit status
make[1]: *** [hobbit_snmpcollect] Error 1
make[1]: Leaving directory `/home/hobbit/trunk/bbnet'
make: *** [bbnet-build] Error 2
net-snmp-config --libs returns:
-L/usr/lib -lnetsnmp -lcrypto -lm -L/usr/lib -lwrap
Which doesn't seem to be available in the linker on SLES10 SP1.

This is an Net-SNMP on SLES10 packaging problem. The 'net-snmp-config'
command must provide the necessary options to link applications
against the Net-SNMP libs; if it says it needs libwrap, then that
library must be installed as a prerequisite to the Net-SNMP development
package.

I think libwrap is a TCP-Wrappers library. Check if your SLES10
cd includes a "libwrap" package.


Henrik

list Henrik Størner · Thu, 2 Oct 2008 15:03:07 +0000 (UTC) ·
quoted from Rich Smrcina
In <user-cada7e913098@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
TCP Wrappers is installed and the library is there, it's in /lib:
hobbit at dhobbit:/lib> ll libw*
lrwxrwxrwx 1 root root    16 2008-09-24 13:29 libwrap.so.0 -> 
libwrap.so.0.7.6
-rwxr-xr-x 1 root root 29464 2006-06-16 08:07 libwrap.so.0.7.6
Need the "devel" package, perhaps ?
list Rich Smrcina · Thu, 02 Oct 2008 10:16:22 -0500 ·
That's the first thing I checked... it's installed:

dhobbit:/home/hobbit/server/etc # rpm -qa | grep snmp
net-snmp-5.3.0.1-25.15
net-snmp-devel-5.3.0.1-25.24.3
quoted from Henrik Størner

--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009


Henrik Stoerner wrote:
In <user-cada7e913098@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
TCP Wrappers is installed and the library is there, it's in /lib:
hobbit at dhobbit:/lib> ll libw*
lrwxrwxrwx 1 root root    16 2008-09-24 13:29 libwrap.so.0 -> libwrap.so.0.7.6
-rwxr-xr-x 1 root root 29464 2006-06-16 08:07 libwrap.so.0.7.6
Need the "devel" package, perhaps ?

list Buchan Milne · Thu, 2 Oct 2008 20:10:13 +0200 ·
Please don't.

Should you top-post?
quoted from Rich Smrcina

On Thursday 02 October 2008 17:16:22 Rich Smrcina wrote:
That's the first thing I checked... it's installed:

dhobbit:/home/hobbit/server/etc # rpm -qa | grep snmp
net-snmp-5.3.0.1-25.15
net-snmp-devel-5.3.0.1-25.24.3
[...]
Henrik Stoerner wrote:
In <user-cada7e913098@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
TCP Wrappers is installed and the library is there, it's in /lib:

hobbit at dhobbit:/lib> ll libw*
lrwxrwxrwx 1 root root    16 2008-09-24 13:29 libwrap.so.0 ->
libwrap.so.0.7.6
-rwxr-xr-x 1 root root 29464 2006-06-16 08:07 libwrap.so.0.7.6
Need the "devel" package, perhaps ?
The tcp_wrappers development package ...

Regards,
Buchan
list Tom Kauffman · Thu, 2 Oct 2008 14:38:23 -0400 ·
Some of us don't have a choice; MS-Lookout doesn't do anything but top-post, unless I choose the option to include the original message as an attachment, or spend WAY too much time manually re-formatting the message.

And it helps if you change the subject line to reflect the actual message. :-)

Tom
-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid]
Sent: Thursday, October 02, 2008 2:10 PM
To: user-ae9b8668bcde@xymon.invalid
Cc: Rich Smrcina
Subject: Re: [hobbit] hobbit-snmpcollect problem

Please don't.

Should you top-post?
list Rob MacGregor · Thu, 2 Oct 2008 19:51:24 +0100 ·
quoted from Tom Kauffman
On Thu, Oct 2, 2008 at 19:38, Kauffman, Tom <user-3feba9e60a8b@xymon.invalid> wrote:
Some of us don't have a choice; MS-Lookout doesn't do anything but top-post, unless I choose the option to include the original message as an attachment, or spend WAY too much time manually re-formatting the message.
Can I suggest Outlook Quotefix:

http://home.in.tum.de/~jain/software/outlook-quotefix/

or for Outlook Express:

http://home.in.tum.de/~jain/software/oe-quotefix/

The Outlook version only works up to Outlook 2003, but they include a
link to a macro that solves the problem for Outlook 2007.

-- 
                 Please keep list traffic on the list.

Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche
list Henrik Størner · Thu, 2 Oct 2008 19:37:27 +0000 (UTC) ·
quoted from Rich Smrcina
In <user-30383bc97b74@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
Henrik Stoerner wrote:
In <user-cada7e913098@xymon.invalid> Rich Smrcina <user-cf452ff334e0@xymon.invalid> writes:
TCP Wrappers is installed and the library is there, it's in /lib:
hobbit at dhobbit:/lib> ll libw*
lrwxrwxrwx 1 root root    16 2008-09-24 13:29 libwrap.so.0 -> 
libwrap.so.0.7.6
-rwxr-xr-x 1 root root 29464 2006-06-16 08:07 libwrap.so.0.7.6
Need the "devel" package, perhaps ?
That's the first thing I checked... it's installed:
dhobbit:/home/hobbit/server/etc # rpm -qa | grep snmp
net-snmp-5.3.0.1-25.15
net-snmp-devel-5.3.0.1-25.24.3
I meant the libwrap-devel package.


Henrik
list Tom Kauffman · Thu, 2 Oct 2008 15:46:12 -0400 ·
----Original Message----
From: Rob MacGregor [mailto:user-07c9d92ae079@xymon.invalid]
Sent: Thursday, October 02, 2008 2:51 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Top posting (was RE: [hobbit] hobbit-snmpcollect
problem)
quoted from Rob MacGregor
On Thu, Oct 2, 2008 at 19:38, Kauffman, Tom <user-3feba9e60a8b@xymon.invalid>
wrote:
Some of us don't have a choice; MS-Lookout doesn't do anything but
top-post, unless I choose the option to include the original message
as an attachment, or spend WAY too much time manually re-formatting
the message.
Can I suggest Outlook Quotefix:

http://home.in.tum.de/~jain/software/outlook-quotefix/

or for Outlook Express:

http://home.in.tum.de/~jain/software/oe-quotefix/

The Outlook version only works up to Outlook 2003, but they include a
link to a macro that solves the problem for Outlook 2007.
I think I owe you a beer! :-)

Tom