Monday, November 9, 2015

How do I find which rpm package supplies a file I'm looking for?

[mysql@mysql01 lib]$ ldd /my/mysql/lib/libgalera_smm.so
        linux-vdso.so.1 =>  (0x00007fff1affe000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6d4daa6000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f6d4d89e000)
        libssl.so.6 => not found
        libcrypto.so.6 => not found

        libm.so.6 => /lib64/libm.so.6 (0x00007f6d4d619000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6d4d402000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6d4d06e000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003094000000)

       
[mysql@mysql01 lib]$ yum whatprovides 'libssl.so.6'
Loaded plugins: security, ulninfo
openssl098e-0.9.8e-18.0.1.el6_5.2.i686 : A compatibility version of a general cryptography and TLS library
Repo        : public_ol6_latest
Matched from:
Other       : libssl.so.6

 

openssl098e-0.9.8e-17.0.1.el6.i686 : A compatibility version of a general cryptography and TLS library
Repo        : public_ol6_latest
Matched from:
Other       : libssl.so.6

 

openssl098e-0.9.8e-17.0.1.el6_2.2.i686 : A compatibility version of a general cryptography and TLS library
Repo        : public_ol6_latest
Matched from:
Other       : libssl.so.6

 

[mysql@mysql01 lib]$  yum whatprovides 'libcrypto.so.6'
Loaded plugins: security, ulninfo
openssl098e-0.9.8e-18.0.1.el6_5.2.i686 : A compatibility version of a general cryptography and TLS library
Repo        : public_ol6_latest
Matched from:
Other       : libcrypto.so.6

 

openssl098e-0.9.8e-17.0.1.el6.i686 : A compatibility version of a general cryptography and TLS library
Repo        : public_ol6_latest
Matched from:
Other       : libcrypto.so.6

 

openssl098e-0.9.8e-17.0.1.el6_2.2.i686 : A compatibility version of a general cryptography and TLS library
Repo        : public_ol6_latest
Matched from:
Other       : libcrypto.so.6

[root@mysql01 ~]# yum install openssl098e

[mysql@mysql01 lib]$ ldd /my/mysql/lib/libgalera_smm.so
        linux-vdso.so.1 =>  (0x00007fff418b9000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7b6dc57000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f7b6da4f000)
        libssl.so.6 => /usr/lib64/libssl.so.6 (0x00007f7b6d7ff000)
        libcrypto.so.6 => /usr/lib64/libcrypto.so.6 (0x00007f7b6d4a3000)

        libm.so.6 => /lib64/libm.so.6 (0x00007f7b6d21f000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7b6d008000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f7b6cc74000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003094000000)
        libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f7b6ca30000)
        libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f7b6c748000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f7b6c544000)
        libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f7b6c318000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f7b6c113000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f7b6befd000)
        libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007f7b6bcf2000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f7b6baee000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f7b6b8d4000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f7b6b6b4000)

No comments:

Post a Comment