maralla / pack

📦 The missing vim8 package manager.
MIT License
262 stars 17 forks source link

Execution failed on Redhat (libssl.so.1.0.0: cannot open shared object file) #16

Open acefei opened 6 years ago

acefei commented 6 years ago

Error:

[root@localhost ~]# ./pack install tpope/vim-markdown
./pack: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Enviroment:

[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
[root@localhost ~]# ls -l /usr/lib64/libssl*
-rwxr-xr-x. 1 root root 315096 May  5  2017 /usr/lib64/libssl3.so
lrwxrwxrwx. 1 root root     16 Mar  5 03:31 /usr/lib64/libssl.so.10 -> libssl.so.1.0.2k
-rwxr-xr-x. 1 root root 470336 May 17  2017 /usr/lib64/libssl.so.1.0.2k

Work around, create link file by manual.

awidegreen commented 6 years ago

It seems that you just downloaded the binary. Did you try installing it via cargo instead: cargo install --git https://github.com/maralla/pack.git?

The release version links against

        linux-vdso.so.1 (0x00007ffc24cf2000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fe61940b000)
        libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007fe61919f000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007fe618d28000)
        libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fe618b24000)
        librt.so.1 => /usr/lib/librt.so.1 (0x00007fe61891c000)
        libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fe6186fe000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fe6184e7000)
        libc.so.6 => /usr/lib/libc.so.6 (0x00007fe618130000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fe619a6f000)

which come from packs dependencies (libgit2, libssl).

acefei commented 6 years ago

Thanks for you prompt reply, it works well after running cargo install. BTW, it would be really appreciated if you can add this into Install section in README.md for someone who has no experience in rust.