Atlas 시리즈 1: 공유 라이브러리를 로드하는 동안 오류가 발생했습니다: libcrypto.so.6: cannot open shared object file: ...
https://github.com/Qihoo360/Atlas/wiki/Atlas의 설치
이:
[root@localhost bin]# ./mysql-proxyd test start
/usr/local/mysql-proxy/bin/mysql-proxy: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
error: failed to start MySQL-Proxy of test
뭐?libcrypto가 없습니다.so.육?
3: 직접 yum install openssl*
libcrypto.so.6 , :
yum provides */libcrypto.so.6
openssl098e-0.9.8e-17.el6.centos.2.x86_64
yum install openssl098e-0.9.8e-17.el6.centos.2.x86_64
4: 서비스 실행을 보기 위해 온 가방
[root@localhost bin]# ldd mysql-proxy
linux-vdso.so.1 => (0x00007ffff4df7000)
libmysql-chassis.so.0 => /usr/local/mysql-proxy/lib/libmysql-chassis.so.0 (0x00007f40c8038000)
libmysql-proxy.so.0 => /usr/local/mysql-proxy/lib/libmysql-proxy.so.0 (0x00007f40c7e14000)
libsql-tokenizer.so.0 => /usr/local/mysql-proxy/lib/libsql-tokenizer.so.0 (0x00007f40c7c05000)
libevent-2.0.so.5 => /usr/local/mysql-proxy/lib/libevent-2.0.so.5 (0x00007f40c79c2000)
liblua-5.1.so => /usr/local/mysql-proxy/lib/liblua-5.1.so (0x00007f40c7797000)
libgmodule-2.0.so.0 => /usr/local/mysql-proxy/lib/libgmodule-2.0.so.0 (0x00007f40c7594000)
libgthread-2.0.so.0 => /usr/local/mysql-proxy/lib/libgthread-2.0.so.0 (0x00007f40c7393000)
libmysql-chassis-timing.so.0 => /usr/local/mysql-proxy/lib/libmysql-chassis-timing.so.0 (0x00007f40c718f000)
libmysql-chassis-glibext.so.0 => /usr/local/mysql-proxy/lib/libmysql-chassis-glibext.so.0 (0x00007f40c6f8d000)
libm.so.6 => /lib64/libm.so.6 (0x00007f40c6cfb000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f40c6af6000)
libcrypto.so.6 => not found
libjemalloc.so.1 => /usr/local/mysql-proxy/lib/libjemalloc.so.1 (0x00007f40c68bc000)
libglib-2.0.so.0 => /usr/local/mysql-proxy/lib/libglib-2.0.so.0 (0x00007f40c659e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f40c6381000)
librt.so.1 => /lib64/librt.so.1 (0x00007f40c6179000)
libc.so.6 => /lib64/libc.so.6 (0x00007f40c5de4000)
/lib64/ld-linux-x86-64.so.2 (0x00007f40c8247000)
libcrypto.so.6 => not found
libcrypto.so.6 => not found
libcrypto.so.6 => not found
libcrypto.so.6 => not found
libcrypto.so.6 => not found
아직
오:
[root@localhost bin]# find / -name libcrypto.so.6
/usr/lib64/libcrypto.so.6
/usr/lib/libcrypto.so.6
[root@localhost bin]# ll /usr/lib64/libcrypto.so.6
lrwxrwxrwx. 1 root root 19 May 11 23:22 /usr/lib64/libcrypto.so.6 -> libcrypto.so.0.9.8e
[root@localhost bin]# ll /usr/lib/libcrypto.so.6
lrwxrwxrwx. 1 root root 19 May 11 19:32 /usr/lib/libcrypto.so.6 -> libcrypto.so.0.9.8e
수동으로 연결 파일 만들기
[root@localhost bin]# ln -s libcrypto.so.0.9.8e libcrypto.so.6
[root@localhost bin]# ls
encrypt libcrypto.so.6 mysql-proxy mysql-proxyd VERSION
[root@localhost bin]# ldd mysql-proxy
linux-vdso.so.1 => (0x00007fffd55ff000)
libmysql-chassis.so.0 => /usr/local/mysql-proxy/lib/libmysql-chassis.so.0 (0x00007f3cfdaa3000)
libmysql-proxy.so.0 => /usr/local/mysql-proxy/lib/libmysql-proxy.so.0 (0x00007f3cfd87f000)
libsql-tokenizer.so.0 => /usr/local/mysql-proxy/lib/libsql-tokenizer.so.0 (0x00007f3cfd670000)
libevent-2.0.so.5 => /usr/local/mysql-proxy/lib/libevent-2.0.so.5 (0x00007f3cfd42d000)
liblua-5.1.so => /usr/local/mysql-proxy/lib/liblua-5.1.so (0x00007f3cfd202000)
libgmodule-2.0.so.0 => /usr/local/mysql-proxy/lib/libgmodule-2.0.so.0 (0x00007f3cfcfff000)
libgthread-2.0.so.0 => /usr/local/mysql-proxy/lib/libgthread-2.0.so.0 (0x00007f3cfcdfe000)
libmysql-chassis-timing.so.0 => /usr/local/mysql-proxy/lib/libmysql-chassis-timing.so.0 (0x00007f3cfcbfa000)
libmysql-chassis-glibext.so.0 => /usr/local/mysql-proxy/lib/libmysql-chassis-glibext.so.0 (0x00007f3cfc9f8000)
libm.so.6 => /lib64/libm.so.6 (0x00007f3cfc766000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f3cfc561000)
libcrypto.so.6 => /usr/lib64/libcrypto.so.6 (0x00007f3cfc205000)
libjemalloc.so.1 => /usr/local/mysql-proxy/lib/libjemalloc.so.1 (0x00007f3cfbfcb000)
libglib-2.0.so.0 => /usr/local/mysql-proxy/lib/libglib-2.0.so.0 (0x00007f3cfbcad000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3cfba90000)
librt.so.1 => /lib64/librt.so.1 (0x00007f3cfb888000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3cfb4f3000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3cfdcb2000)
libz.so.1 => /lib64/libz.so.1 (0x0000003b3ac00000)
[root@localhost bin]# ./mysql-proxyd test start
OK: MySQL-Proxy of test is started
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.