1:Atlas的安装

https://github.com/Qihoo360/Atlas/wiki/Atlas的安装

2:

[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.6?

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

还是not found

5:

[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

  

Atlas系列一:【已解决】error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory的更多相关文章

  1. 错误解决:error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory

    执行以下代码,生成唯一的UID $fp = popen("/xxx/bin/tools/uuidgen system", "r");// $uid = frea ...

  2. 解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误

    解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误 今天安装启动nginx的时候报 ...

  3. error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

    zabbix3.2启动有如下报错: # service zabbix_server startStarting zabbix_server:  /home/zabbix-server/sbin/zab ...

  4. Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir

    问题: Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared obje ...

  5. svnadmin:error while loading shared libraries: libaprutil-1.so.0:cannot open shared object file: No such file or directory

    wdcp下安装svn后一直提示 svnadmin:error while loading shared libraries: libaprutil-1.so.0:cannot open shared ...

  6. 动态链接库找不到 : error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory

    问题: 运行gsl(GNU scientific Library)的函数库,用 gcc erf.c -I/usr/local/include -L/usr/local/lib64 -L/usr/loc ...

  7. 编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

    在Ubuntu14.04 64位系统中已经安装了libc6:i386的库,编译Uboot时提示error while loading shared libraries: libz.so.1: cann ...

  8. mysql-xtrabackup备份sh: xtrabackup_56: command not found与error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

    sh: xtrabackup_56: command not foundinnobackupex: fatal error: no 'mysqld' group in MySQL options解决办 ...

  9. MYSQL之 error while loading shared libraries: libtinfo.so.5: cannot open shared objectfile: No such f

    环境:ubuntu18 登陆MYSQL时遇到错误:mysql: error while loading shared libraries: libtinfo.so.5: cannot open sha ...

随机推荐

  1. 便利的初始化view以及设置tag值

    便利的初始化view以及设置tag值 效果 源码 https://github.com/YouXianMing/iOS-Project-Examples 中的 SetRect // // Access ...

  2. 冰川时代5:星际碰撞Ice Age: Collision Course迅雷下载

    影片讲述松鼠奎特为了追松果,偶然引发了宇宙事件,改变并威胁着冰川时代的世界.为了拯救自己,话唠树懒希德.猛犸象曼尼.剑齿虎迪亚哥,以及别的动物群族必须离开家园,踏上了他们充满喜剧色彩的冒险旅程,他们来 ...

  3. 为什么你的session不见了

    一:现象 有小伙伴写了下面一段代码,然后发现,随着每次关闭浏览器,count的值重新开始计数了,如下: protected void doGet(HttpServletRequest request, ...

  4. spring mvc 接受前台json @RequestBody json 属性 空 使用 JsonProperty spring mvc 获取json转乘bean

    请给json序列序列化成的javabean 属性加上   @JsonProperty(value = "real_name")   否则 springmvc 可能接受不到数据 ja ...

  5. 分享一个Panda C-60 维修心得

    昨天丰臣国际搞了个汽车后备箱市场,说白了就是一帮闲的没事儿的"白领"大热天把自家闲置的东西拿过来练练摊,这个形式还是不错的,中间看到了一个熊猫的CD机,一眼就看上了,虽说CD早就过 ...

  6. JavaScript:Math 对象

    ylbtech-JavaScript:Math 对象 Math 对象用于执行数学任务. 使用 Math 的属性和方法的语法: var pi_value=Math.PI; var sqrt_value= ...

  7. iOS图标抖动效果

    开始抖动 -(void)BeginWobble { srand([[NSDate date] timeIntervalSince1970]); float rand=(float)random(); ...

  8. JQuery实现可编辑的表格

    点击表格后可直接编辑,回车或鼠标点击页面其他地方后编辑生效,按Esc可取消编辑 第一种单击表格可以编辑的方法 //相当于在页面中的 body标签加上onload事件$(function() {    ...

  9. oracle的(+)

    (+)就是连接譬如SELECT a.*, b.* from a(+) = b就是一个右连接,等同于select a.*, b.* from a right join bSELECT a.*, b.* ...

  10. 大数据开发实战:Hadoop数据仓库开发实战

    1.Hadoop数据仓库架构设计 如上图. ODS(Operation Data Store)层:ODS层通常也被称为准备区(Staging area),它们是后续数据仓库层(即基于Kimball维度 ...