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/Dy
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/libne
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 direc
> An interesting sidenote is that we are able to dump OIDs
> from the agent. It's only our own OIDs that bomb. That's
> because the agent apparently doesn't go through the
> netsnmp_agent_check_packet fcn where the hosts_ctl call is.
H.. very strange.
That might make sense if you're
> "tcpd" might be more relevant - that's a
> common name of the tcp_wrapper daemon.
>
> What files does it include? ("rpm -q -l tcpd")
> Can you find a file "libwrap..." on the system at all?
> ("locate libwrap")
Yes that seems to be it. Somehow in our strange setup,
libwrap.a is not being li
>> "hosts_ctl" sounds like part of the libwrap
>> mechanism. [possibly] provided by the "tcp_wrappers" RPM.
>> Do you have that installed?
>
> Don't know. Did an 'rpm -qa' and don't see anything called
> "tcp_wrappers". Only "tcpd.." and "net-tools.." look like they'd
> be worthy candidate
> It would feel more profitable to try and track down the missing
> system call(s). "hosts_ctl" sounds like part of the libwrap
> mechanism. I'm not sure if SuSE is the same, but on my RedHat
> box, this is provided by the "tcp_wrappers" RPM. Do you have
> that installed?
Don't know. Did an
> > Is this a library/agent that you've compiled yourself,
> > or a pre-installed version?
>
> It's possible. Yet on this system there should only be
> one instance of net-snmp. It's a dual-boot machine that
> boots into two flavors of SuSE. But they shouldn't share
> any files since they are o
rpm -e net-snmp-5.0.8-1 gives:
: removing these packages would break dependencies:
libnetsnmp.so.5 is needed by mod_php4-4.2.2-502
libnetsnmp.so.5 is needed by mod_php4-core-4.2.2-502
Any ideas? I could try -f (force) on uninstall and hope for
the best.
Thanks,
Carlos
---
> Is this a library/agent that you've compiled yourself,
> or a pre-installed version?
It's possible. Yet on this system there should only be
one instance of net-snmp. It's a dual-boot machine that
boots into two flavors of SuSE. But they shouldn't share
any files since they are on their own pa
> Anyone ever see:
> relocation error: /usr/lib/libnetsnmpagent.so.5:
> undefinded symbol: hosts_ctl
> ?
Is this a library/agent that you've compiled yourself,
or a pre-installed version?
I've got a vague recollection that this can be triggered
by mixing a pre-installed version with self-co
Anyone ever see:
relocation error: /usr/lib/libnetsnmpagent.so.5:
undefinded symbol: hosts_ctl
?
Getting this when doing Gets/Dumps. I can see some
OIDs, but eventually get comes back with genErr or
noSuchName and the above error.
Will try on newer version on net-snmp, but being as
I'm und
12 matches
Mail list logo