[devel] что сломалось в SNMP?

Viacheslav Dubrovskyi dubrsl на gmail.com
Ср Фев 20 13:06:42 MSK 2013


20.02.2013 11:04, Aleksey Novodvorsky пишет:
>
> Лично у меня вот такое приехало:
>
> checking whether to try to build SNMP support... yes
> checking for net-snmp-config... net-snmp-config
> checking net-snmp/net-snmp-config.h usability... yes
> checking net-snmp/net-snmp-config.h presence... yes
> checking for net-snmp/net-snmp-config.h... yes
> checking for register_mib... no
> checking for SNMP support... no (see config.log for errors)
> configure: error: SNMP support was requested, but unavailable
> error: Bad exit status from /usr/src/tmp/rpm-tmp.96239 (%build)
>
>
> Это lustre, он у меня в гите, попробуйте. Ну или из /gears/l/lustre.git
> возьмите.
>
>> configure:18570: checking for register_mib
>> configure:18627: x86_64-alt-linux-gcc -o conftest -pipe -Wall -g -O2
>> -I/usr/src/RPM/BUILD/lustre-1.8.4/lnet/include
>> -I/usr/src/RPM/BUILD/lustre-1.8.4/lnet/include
>> -I/usr/src/RPM/BUILD/lustre-1.8.4/lustre/include -DNETSNMP_ENABLE_IPV6
>> -fno-strict-aliasing -pipe -Wall -g
>> -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
>> -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>> -I/usr/lib64/perl5/CORE -I/usr/include conftest.c  -lnetsnmpmibs -lnl
>> -lsensors -ldl -lnetsnmpagent -lwrap -Wl,-E -lnetsnmp -lrt
>> -lssl -lssl -lcrypto -lm -lcrypto -lwrap >&5
>> /usr/bin/ld: cannot find -lnl
>> collect2: error: ld returned 1 exit status
>>
>> Похоже это из-за пляски с libnl. Почему-то переехав на libnl3 оставили
>> libnl-devel который работать не хочет и в системе оказывается
>> [builder на builder ~]$ rpm -qa | grep libnl
>> libnl1-1.1-alt3
>> libnl3-utils-3.2.21-alt2
>> libnl3-3.2.21-alt2
>> libnl-devel-3.2.21-alt2
>>
> Это уже новый libnl-devel,  из пакета libnl3
Да, уже увидал по версии. Но все равно с ним почему-то не работает.

-- 
WBR,
Viacheslav Dubrovskyi



Подробная информация о списке рассылки Devel