Bug 5758 - libsnmp.so: undefined reference
Summary: libsnmp.so: undefined reference
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libucd-snmp-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Kostya Timoshenko
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 5753
  Show dependency tree
 
Reported: 2004-12-21 14:37 MSK by Alexey Gladkov
Modified: 2007-01-30 10:09 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Gladkov 2004-12-21 14:37:40 MSK
при попытке скомпилировать пример:
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
Comment 1 Konstantin Pavlov 2006-09-28 18:06:11 MSD
Дааавно исправлено.
Comment 2 Konstantin Pavlov 2007-01-30 10:09:19 MSK
Закрываю.