Description
ModuleTest::SetUpTestCase() and the various libraries::paths() is stout assume that updating LD_LIBRARY_PATH or DYLD_LIBRARY_PATH is sufficient to alter the search path used by dlopen(3). It is not; those environment variables are only bound at program load.
My preference is to fix this by requiring the clients of DynamicLibrary to always pass in an absolute path and to remove all mention of these environment variables.
FWIW, the tests in ModuleTest::SetUpTestCase() only work because the libtool wrapper script sets up the library path to the expected value prior to running the tests.
Attachments
Issue Links
- is related to
-
MESOS-3608 Optionally install test binaries.
- Resolved