再增加一个目录,例如:
- $ cat /etc/ld.so.conf
- include ld.so.conf.d/*.conf
- /usr/local/GreatSQL-8.0.25-17-Linux-glibc2.28-x86_64/lib
- /usr/local/GreatSQL-8.0.25-17-Linux-glibc2.28-x86_64/lib/mysqlrouter/private
- /usr/local/lib64
复制代码
之后执行
- ldconfig && ldconfig -p | grep auth
- ldconfig: /usr/local/lib64/libcgicc.so.3 is not a symbolic link
- libvgauth.so.0 (libc6,x86-64) => /lib64/libvgauth.so.0
- libpegauthentication.so.1 (libc6,x86-64) => /lib64/libpegauthentication.so.1
- libmysqlrouter_http_auth_realm.so.1 (libc6,x86-64) => /usr/local/GreatSQL-8.0.25-17-Linux-glibc2.28-x86_64/lib/mysqlrouter/private/libmysqlrouter_http_auth_realm.so.1
- libmysqlrouter_http_auth_backend.so.1 (libc6,x86-64) => /usr/local/GreatSQL-8.0.25-17-Linux-glibc2.28-x86_64/lib/mysqlrouter/private/libmysqlrouter_http_auth_backend.so.1
- libauthselect.so.3 (libc6,x86-64) => /lib64/libauthselect.so.3
复制代码
这样应该就OK了 |