Thank you for reading this post, don't forget to subscribe!
необходимые библиотеки не слинкованы, если Вы видите одну из следующих ошибок:
1 2 3 4 5 |
mysql-proxy: error <span class="k">while </span>loading shared libraries: libmysql-chassis.so.0: cannot open shared object file: No such file or directory mysql-proxy: error <span class="k">while </span>loading shared libraries: libmysql-proxy.so.0.0.0: cannot open shared object file: No such file or directory mysql-proxy: error <span class="k">while </span>loading shared libraries: libevent-2.0.so.5.1.9: cannot open shared object file: No such file or directory mysql-proxy: error <span class="k">while </span>loading shared libraries: libmysql-chassis-timing.so.0.0.0: cannot open shared object file: No such file or directory |
Проблема решается следующим образом:
1 2 3 4 5 6 7 |
<span class="nb">cd</span> /usr/lib64 ln <span class="nt">-s</span> /opt/mysql-proxy/lib/libmysql-chassis.so.0.0.0 libmysql-chassis.so.0 ln <span class="nt">-s</span> /opt/mysql-proxy/lib/libmysql-proxy.so.0.0.0 libmysql-proxy.so.0 ln <span class="nt">-s</span> /opt/mysql-proxy/lib/libmysql-chassis-glibext.so.0.0.0 libmysql-chassis-glibext.so.0 ln <span class="nt">-s</span> /opt/mysql-proxy/lib/libevent-2.0.so.5.1.9 libevent-2.0.so.5 ln <span class="nt">-s</span> /opt/mysql-proxy/lib/libmysql-chassis-timing.so.0.0.0 libmysql-chassis-timing.so.0 |
Возможно Вам прийдется подредактировать пути к библиотекам.