[MXS-389] Please statically link maxbinlogcheck (and maybe other cli utilities) Created: 2015-09-29  Updated: 2017-12-01  Resolved: 2015-09-30

Status: Closed
Project: MariaDB MaxScale
Component/s: build
Affects Version/s: 1.2.1
Fix Version/s: 1.3.0

Type: New Feature Priority: Minor
Reporter: Simon J Mudd Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: 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.


Generated at Thu Feb 08 03:58:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.