при попытке скомпилировать пример: char snmp_parse_oid (); int main () { snmp_parse_oid (); return 0; } $ gcc -o test -lsnmp test.c /usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit' /usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal' /usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal_ex' /usr/lib/libsnmp.so: undefined reference to `AES_set_encrypt_key' /usr/lib/libsnmp.so: undefined reference to `EVP_md5' /usr/lib/libsnmp.so: undefined reference to `HMAC' /usr/lib/libsnmp.so: undefined reference to `EVP_MD_CTX_cleanup' /usr/lib/libsnmp.so: undefined reference to `SSLeay' /usr/lib/libsnmp.so: undefined reference to `EVP_sha1' /usr/lib/libsnmp.so: undefined reference to `EVP_MD_CTX_init' /usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate' /usr/lib/libsnmp.so: undefined reference to `RAND_bytes' /usr/lib/libsnmp.so: undefined reference to `DES_cbc_encrypt' /usr/lib/libsnmp.so: undefined reference to `DES_ncbc_encrypt' /usr/lib/libsnmp.so: undefined reference to `DES_key_sched' /usr/lib/libsnmp.so: undefined reference to `AES_cfb128_encrypt' collect2: ld returned 1 exit status
Дааавно исправлено.
Закрываю.