i tried to add net-snmp support to Image with supplied ltib for freescale mpc8308 but by adding net-snmp in ltib --config the build will stop in compiling supplied net-snmp package.
so i changed the package with latest version from net-snmp website and changed the name to match previous version and also changed the .md5 file so that ltib can compile net-snmp. in this case it succeeded but when executing snmpd in target it gives error:
./snmpd: error while loading shared libraries: /lib/libnetsnmpagent.so.30: invalid ELF header
OR!
snmpd: error while loading shared libraries: libnetsnmpagent.so.30: cannot open shared object file: No such file or directory
then i cross-compiled the package in my host ubuntu14.04 with supplied cross toolchain and copied the library file to target to replace the bad file. result was another error:
libnetsnmpmibs.so.30: undefined symbol: usmDESPrivProtocol
so i copied all of net-snmp shared libraries and i faced another error:
snmpd: /lib/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib/libnetsnmp.so.30)
snmpd: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /usr/lib/libnetsnmp.so.30)
snmpd: /lib/libc.so.6: version `GLIBC_2.17' not found (required by /usr/lib/libnetsnmp.so.30)
what should i do? is there anyway to add net-snmp support without such odd actions?! if not what is the correct way?