LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Library missing error while running snmpd in lpc3250 board (https://www.linuxquestions.org/questions/linux-newbie-8/library-missing-error-while-running-snmpd-in-lpc3250-board-4175463711/)

biyabani 05-28-2013 01:15 AM

Library missing error while running snmpd in lpc3250 board
 
Hi,
I am presently working on SNMP with LPC3250(ARM) board and linux kernel version 2.6.34 (UBUNTU 11.10).

I was downloaded NET-SNMP-5.4.3 package from NET-SNMP web site and i have installed NET-SNMP in my HOST using below procedure

1. Go to path where NET-SNMP package placed

root@mohan:/home/mohan/net-snmp-5.4.4#

2. Run ./configure command with required agruments

root@mohan:/home/mohan/net-snmp-5.4.4# ./configure --enable-mini-agent --with-mib-modules=mibII --target=arm-linux --build=i686-pc-linux-gnu --host=arm-linux --disable-scripts --disable-embedded-perl --enable-static=yes --with-endianness=little --without-perl-modules --disable-mannuls --without-rpm build_alias=i686-pc-linux-gnu host_alias=arm-linux target_alias=arm-linux

3. make

Then some binary files have been created with names snmpd, snmpget and snmpset etc.

I tried to port this files using NFS(NETWORK FILE SHARING) then it is giving error like below

AFTER KERNEL BOOTING, IN APPLICATION I EXECUTED THIS

#nfs/snmp # ./snmpd
./snmpd: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory

then i have link the libraries in my host using below procedure

root@mohan:/lib/arm-linux-gnueabihf# ln -s libssl.so.1.0.0 libcrypto.so.6
root@mohan:/lib/arm-linux-gnueabihf# ls -l
total 0
lrwxrwxrwx 1 root root 15 2013-05-28 11:12 libcrypto.so.6 -> libssl.so.1.0.0

then i tried but it is showing same error.

If anybody know about it please give reply.

Thanks & Regards,
MOHAMMAD BIYABANI.

pan64 05-28-2013 02:43 AM

I do not think that ln -s command can solve this issue.
libssl.so and libcrypto.so are two different shared libraries. Probably one of them is missing, you need to find libcrypto.so.6 (either by installing it or probably copying it from somewhere)

biyabani 05-28-2013 05:31 AM

Thanks for your reply sir,

can you tell how to install libcrypto.so.6 in application or where can i find libraries?

Please give reply if you know.

Thanks & Regards,
MOHAMMAD BIYABANI.


All times are GMT -5. The time now is 09:23 AM.