From e39c6f1a5202ed066ea05fac9056abfd11166857 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 8 May 2017 16:21:38 +0200 Subject: Prepend LD_LIBRARY_PATH instead of overwritting it My current distribution ships a newer libcrypto and libssl which are not ABI compatible with the ones generated by Jenkins. I had to copy those libraries locally and use LD_LIBRARY_PATH to be able to run binaries compiled coming from the jenkins slave. Without this patch I am not able to run it because it is overwriting the previous variable. Change-Id: Id9b16d13d343616cbf87b9da8a99e3fae48da6bd --- src/osmo_gsm_tester/bts_octphy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo_gsm_tester/bts_octphy.py') diff --git a/src/osmo_gsm_tester/bts_octphy.py b/src/osmo_gsm_tester/bts_octphy.py index 1f36a79..5a73c7d 100644 --- a/src/osmo_gsm_tester/bts_octphy.py +++ b/src/osmo_gsm_tester/bts_octphy.py @@ -50,7 +50,7 @@ class OsmoBtsOctphy(log.Origin): lib = self.inst.child('lib') if not os.path.isdir(lib): raise RuntimeError('No lib/ in %r' % self.inst) - self.env = { 'LD_LIBRARY_PATH': lib } + self.env = { 'LD_LIBRARY_PATH': util.prepend_library_path(lib) } self.launch_process(OsmoBtsOctphy.BIN_BTS_OCTPHY, '-r', '1', '-c', os.path.abspath(self.config_file)) self.suite_run.poll() -- cgit v1.2.3