diff --git a/server/modules/routing/binlogrouter/test/testbinlog.c b/server/modules/routing/binlogrouter/test/testbinlog.c index d34f78345..abcc4f73f 100644 --- a/server/modules/routing/binlogrouter/test/testbinlog.c +++ b/server/modules/routing/binlogrouter/test/testbinlog.c @@ -95,11 +95,7 @@ int main(int argc, char **argv) mxs_log_set_priority_enabled(LOG_DEBUG, false); mxs_log_set_priority_enabled(LOG_INFO, false); - char *lib_dir = getenv("LD_LIBRARY_PATH"); - if (lib_dir) - { - set_libdir(MXS_STRDUP_A(lib_dir)); - } + char *lib_dir = MXS_STRDUP_A(".."); if ((service = service_alloc("test_service", "binlogrouter")) == NULL) {