Unable to compile/link SNMP++ sample under Linux
Hello,
I am new in the world of snmp++. Recently I have downloaded the latest version of snmp++ for Linux and tried to compile the sample (specifically Qt example). While I try to "make" the sample, at one stage it shows the following message and exit the make utility:
/usr/bin/ld: Cannot find -lsnmp++
Looks like a library file is missing.
Can any one tell me how to solve this problem?
Thanks in advance.
Re: Unable to compile/link SNMP++ sample under Linux
Try to find libsnmp++.so in you library path.
Re: Unable to compile/link SNMP++ sample under Linux
Thanks for your response. I have copied the SO file in the path specified in the make file, which is "/snmp++/lib". But now following new error messages are showing up:
../lib/libsnmp++.so: undefined reference to `des_key_sched'
../lib/libsnmp++.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
Can you please tell me what to do this time?
Re: Unable to compile/link SNMP++ sample under Linux
I'm not sure. It seems libsnmp++ calls encryption library. It looks like DES library. You need to link with this library also.