libcrypto++.so.6
일부 응용 프로그램을 실행하려면 Jessie가 필요합니다 . 이것이 내가 가진 것입니다 /usr/lib/
:
root@lab-185:~# ls /usr/lib/ | grep libcrypto
libcrypto++.a
libcryptopp.a
libcryptopp.so
libcryptopp.so.9
libcrypto++.so
libcrypto.so.1.0.0
libcrypto++.so.9
libcrypto++.so.9.0.0
그리고 aptitude
쇼:
root@lab-185:~# aptitude search libcrypto
i libcrypto++-dev - General purpose cryptographic library - C++ development
i libcrypto++-doc - General purpose cryptographic library - documentation
i libcrypto++-utils - General purpose cryptographic library - utilities and data files
i A libcrypto++9 - General purpose cryptographic library - shared library
i libcrypto++9-dbg - General purpose cryptographic library - debug symbols
i libcrypto1.0.0-udeb - Secure Sockets Layer toolkit - libcrypto udeb
이것은 strace
내 응용 프로그램입니다.
root@lab-185:~# strace ./app 2>&1 | grep libcrypto
open("/lib/x86_64-linux-gnu/libcrypto++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcrypto++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libcrypto++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypto++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
writev(2, [{"./app", 15}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libcrypto++.so.6", 16}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10./app: error while loading shared libraries: libcrypto++.so.6: cannot open shared object file: No such file or directory
내 시스템에 어떻게 설치하나요?
편집 1:
명령은 ldd
다음을 반환합니다.
root@lab-185:~# ldd app
./app: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by ./app)
./app: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by ./app)
./app: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./app)
linux-vdso.so.1 (0x00007ffcb69e4000)
libnetsnmp.so.30 => /usr/lib/x86_64-linux-gnu/libnetsnmp.so.30 (0x00007f5661c32000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5661a15000)
liblog4cxx.so.10 => /usr/lib/x86_64-linux-gnu/liblog4cxx.so.10 (0x00007f566162c000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5661424000)
libxerces-c-3.1.so => /usr/lib/libxerces-c-3.1.so (0x00007f5660e1c000)
libxqilla.so.6 => /usr/lib/libxqilla.so.6 (0x00007f56605aa000)
libcrypto++.so.6 => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f566029f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f565ff9e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f565fd88000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f565f9df000)
libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f565f5e4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f566245c000)
libapr-1.so.0 => /usr/lib/x86_64-linux-gnu/libapr-1.so.0 (0x00007f565f3af000)
libaprutil-1.so.0 => /usr/lib/x86_64-linux-gnu/libaprutil-1.so.0 (0x00007f565f186000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f565ef6e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f565ed6a000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f565eb65000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f565e92e000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f565e705000)
편집 2:
나는 열심히 노력했다이 솔루션;작동하지 않습니다.
ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.6
ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /lib/x86_64-linux-gnu/libssl.so.6
ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto++.so.6
편집 3:
이미 나는 libstdc++6
:
root@lab-185:~# aptitude search libstdc++
p libstdc++-4.8-dev - GNU Standard C++ Library v3 (development files)
i A libstdc++-4.9-dev - GNU Standard C++ Library v3 (development files)
v libstdc++-dev -
p libstdc++5 - The GNU Standard C++ Library v3
i libstdc++6 - GNU Standard C++ Library v3
답변1
가장 쉬운 방법은 Jessie에서 잘 작동하는 현재 Stretch 바이너리를 다운로드하는 것입니다.
wget http://ftp.debian.org/debian/pool/main/libc/libcrypto++/libcrypto++6_5.6.4-7_amd64.deb
sudo apt install ./libcrypto++6_5.6.4-7_amd64.deb
가능한 업데이트를 계속 주시하고 싶을 것입니다(구독패키지 추적기오른쪽 상단에 있는 커다란 파란색 "구독" 버튼을 사용하세요.)
생성된 오류를 고려하면 ldd
이것이 애플리케이션을 실행하기에 충분하지 않을 것입니다. libstdc++6
최신 버전도 필요할 것입니다. 전체 업그레이드는 더 어려우므로 Debian 9로 업그레이드하는 것이 더 좋습니다.