Cannot open shared object file: No such file or directory

Hi,

While running tcpdump command on my Fedora 16 machine I am get shared library issue.

[root@mindlanf-4 ~]# tcpdump
tcpdump: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory

[root@mindlanf-4 ~]# which tcpdump
/usr/software/sbin/tcpdump

I have tried installing the above lib but still it fails,

[root@mindlanf-4 ~]# yum install libcrypto*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
Package cryptopp-5.6.1-5.fc16.x86_64 already installed and latest version
Package openssl-1.0.0j-1.fc16.x86_64 already installed and latest version
Package cryptominisat-libs-2.9.3-1.fc16.x86_64 already installed and latest version
Nothing to do
[root@mindlanf-4 ~]#

Let me know if there is anything I am missing to install. please help me to resolve this issue.

Thank you.
Muzaffar

Does a file libcrypto.so.6(.something) exist in the libraries' directories, and / or possibly have a link libcrypto.so.6 pointing to it?

Below is the output of ls, let me know if i need to create any softlink


[root@mindlanf-4 ~]# ls -l /usr/software/sbin/tcpdump
lrwxrwxrwx 1 root root 17 May 25 16:19 /usr/software/sbin/tcpdump -> /usr/sbin/tcpdump
[root@mindlanf-4 ~]# tcpdump
tcpdump: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
[root@mindlanf-4 ~]#

I was talking of the libraries' directory, NOT the binaries'.
Try sth like

sudo ldd /usr/sbin/tcpdump 
[sudo] password for user: 
    linux-vdso.so.1 =>  (0x00007ffd54f9b000)
    libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f00628b3000)
    libpcap.so.0.8 => /usr/lib/x86_64-linux-gnu/libpcap.so.0.8 (0x00007f0062671000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f00622a6000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f00620a2000)
    /lib64/ld-linux-x86-64.so.2 (0x000055c20ca58000)
ls -la /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
-rw-r--r-- 1 root root 2361856 Mai 19 16:18 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
find /lib -iname \*libcrypt\* -ls
   187146     40 -rw-r--r--   1 root     root        38428 Jun 16 22:36 /lib/i386-linux-gnu/libcrypt-2.23.so
   187168      0 lrwxrwxrwx   1 root     root           16 Jun 16 22:36 /lib/i386-linux-gnu/libcrypt.so.1 -> libcrypt-2.23.so
   133998   2308 -rw-r--r--   1 root     root      2361856 Mai 19 16:18 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
   168682     40 -rw-r--r--   1 root     root        39224 Jun 16 22:57 /lib/x86_64-linux-gnu/libcrypt-2.23.so
   168764      0 lrwxrwxrwx   1 root     root           16 Jun 16 22:57 /lib/x86_64-linux-gnu/libcrypt.so.1 -> libcrypt-2.23.so
   134132    156 -rw-r--r--   1 root     root       158848 Aug 21  2015 /lib/x86_64-linux-gnu/libcryptsetup.so.4.6.0
   135567      0 lrwxrwxrwx   1 root     root           22 Aug 21  2015 /lib/x86_64-linux-gnu/libcryptsetup.so.4 -> libcryptsetup.so.4.6.0

and post your results.