Ed Ravin wrote:
On Thu, Jan 20, 2005 at 03:13:09PM -0500, Rob Kudyba wrote:
...
/usr/local/bin/snmpget: relocation error:
/usr/local/lib/libnetsnmp.so.5: undefined symbol: des_key_sched
...
gcc -g -O2 -Dlinux -o .libs/snmpd snmpd.o ./.libs/libnetsnmpmibs.so
./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so
../snmplib/.libs/libnetsnmp.so -ldl -lcrypto -lm -Wl,--rpath
-Wl,/usr/local/lib
../snmplib/.libs/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
../snmplib/.libs/libnetsnmp.so: undefined reference to `des_key_sched'
../snmplib/.libs/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
Looks like an OpenSSL problem. Check how many versions of OpenSSL you have
installed, and where they live. config.log should show which one was
found by configure. You might have to manually specify the location of
the OpenSSL libraries and include headers on the configure command line.
Not sure about that...
Did:
'./configure --with-openssl=/usr/bin/openssl'
Then with 'make' got the same:
../snmplib/.libs/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
../snmplib/.libs/libnetsnmp.so: undefined reference to `des_key_sched'
../snmplib/.libs/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/usr/local/net-snmp-5.2.1.rc3/agent'
make: *** [subdirs] Error 1
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users