Details
-
New Feature
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.2.1
-
None
Description
I noticed when trying to check something on a box that didn't have the maxscale 1.2 binaries installed:
[me@myhost tmp]$ ~me/maxbinlogcheck -d binlog.019999
/home/me/maxbinlogcheck: error while loading shared libraries: liblog_manager.so: cannot open shared object file: No such file or directory
[me@myhost tmp]$
Please statically link the maxbinlogcheck binary, and maybe other binaries that depend on the libraries used by maxscale. The /usr/bin/maxscale binary may be different as it uses libraries which providing routing and other facilities but the command line tools don't need to be dynamic and having to copy around or depend on the libraries being about is not useful.
This makes it easier to copy the binary from one host to another which can sometimes be useful.