Source code compilation

Docker image

The easiest way to compile source code is to use docker script from github:

#> git clone
#> bash

You need at least GCC 4.8 to compile OpenLogReplicator. Please refer to Docker images for Ubuntu or CentOS source scripts for details regarding required packages and compilation options.


If running OpenLogReplicator gives you a result like:

#> ./OpenLogReplicator 
./OpenLogReplicator: error while loading shared libraries: cannot open shared object file: No such file or directory

This means that the libraries are not correctly linked. Please check which libraries are missing, example:

#> ldd OpenLogReplicator =>  (0x00007fff75ddd000) => /lib64/ (0x00007f45c27df000) => not found => not found => not found => not found => not found => /lib64/ (0x00007f45c25c3000) => /lib64/ (0x00007f45c22bc000) => /lib64/ (0x00007f45c1fba000) => /lib64/ (0x00007f45c1da4000) => /lib64/ (0x00007f45c19d6000) => /lib64/ (0x00007f45c17d2000)
	/lib64/ (0x00007f45c576f000)

In the above example all libraries marked with “not found” are missing. Please check that the environment variable LD_LIBRARY_PATH includes paths where the required files are located. If necessary – create appropriate symlinks.