Bug 5758 - libsnmp.so: undefined reference
: libsnmp.so: undefined reference
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/libucd-snmp-devel)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
: 5753
  Show dependency tree
 
Reported: 2004-12-21 14:37 by
Modified: 2007-01-30 10:09 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-12-21 14:37:40
при попытке скомпилировать пример:
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 From 2006-09-28 18:06:11 -------
Дааавно исправлено.
------- Comment #2 From 2007-01-30 10:09:19 -------
Закрываю.