阅读:1795回复:2
又是一个关于UCD的问题!
我在写一个小程序,编译时遇到以下问题,
/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 `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 `des_cbc_encrypt\' /usr/local/lib/libsnmp.so: undefined reference to `des_key_sched\' /usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate\' /usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes\' /usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt\' 请问是怎么回事啊? |
|
沙发#
发布于:2003-06-10 12:23
加密函数库没有带山,如果你的snmp安装好了的话,在/usr/local/lib下面有对应的动态库,可以自己去看一下,我当初也碰到过这种问题,呵呵。
具体函数库的名字我忘记了,注意一下带crypt类似的,呵呵。 |
|
板凳#
发布于:2003-06-10 13:23
谢谢回复,
对的,库是libssl.so 现在已经好了 |
|