>
>собирал сегодня, правда просто из исходников. нормально собралось
>
>%uname -mrs
>FreeBSD 6.1-STABLE i386
# uname -mrs
FreeBSD 6.1-STABLE i386
# pkg_info | grep snmp
rubygem-snmp-0.6.0 SNMP library for Ruby
snmptt-1.1 SNMP trap handler/translator/swiss-army-knife
ucd-snmp-4.2.6_4 An extendable SNMP implementation
snmp_agent.o(.text+0x507):/usr/ports/www/squid/work/squid-2.5.STABLE14/src/snmp_agent.c:275: undefined reference to `snmp_var_new_integer'
snmp_agent.o(.text+0x6ef): In function `snmp_prfProtoFn':
/usr/ports/www/squid/work/squid-2.5.STABLE14/src/snmp_agent.c:396: undefined reference to `snmp_var_new_integer'
snmp_agent.o(.text+0x7c3):/usr/ports/www/squid/work/squid-2.5.STABLE14/src/snmp_agent.c:456: undefined reference to `snmp_var_new_integer'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libsnmp.so: undefined reference to `_ossl_old_des_key_sched'
/usr/local/lib/libsnmp.so: undefined reference to `_ossl_old_des_ncbc_encrypt'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/lib/libsnmp.so: undefined reference to `_ossl_old_des_cbc_encrypt'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
*** Error code 1
Stop in /usr/ports/www/squid/work/squid-2.5.STABLE14/src.
*** Error code 1
Stop in /usr/ports/www/squid/work/squid-2.5.STABLE14/src.
*** Error code 1
Stop in /usr/ports/www/squid/work/squid-2.5.STABLE14/src.
*** Error code 1
Stop in /usr/ports/www/squid/work/squid-2.5.STABLE14.
*** Error code 1
Stop in /usr/ports/www/squid.
Насколько я понял, конфликт происходит из-за /usr/local/lib/libsnmp.so, которую ставит ucd-snmp-4.2.6_4.