Change in osmo-dev[master]: ttcn3.sh: set LD_LIBRARY_PATH=/usr/local/lib

osmith gerrit-no-reply at lists.osmocom.org
Thu Aug 12 15:31:10 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-dev/+/25188 )


Change subject: ttcn3.sh: set LD_LIBRARY_PATH=/usr/local/lib
......................................................................

ttcn3.sh: set LD_LIBRARY_PATH=/usr/local/lib

Fix for Osmocom programs using system's shared libraries, instead of the
ones mounted into /usr/local.

For example, for osmo-bsc the libosmocore installed in the
osmo-bsc-master docker container would be used (installed via apt from
OBS nightly) instead of the version that osmo-dev built from source.

Change-Id: I0dd7fb544ca59cb1df19fc3d73cfd07f3374e123
---
M ttcn3/ttcn3.sh
1 file changed, 5 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/88/25188/1

diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh
index b25c239..9f8c1f3 100755
--- a/ttcn3/ttcn3.sh
+++ b/ttcn3/ttcn3.sh
@@ -245,7 +245,11 @@
 	fi
 
 	cd "$(get_testsuite_dir_docker)"
-	export DOCKER_ARGS="-v /usr/local:/usr/local:ro -v $hacks:/osmo-ttcn3-hacks:ro"
+	export DOCKER_ARGS="\
+		-e LD_LIBRARY_PATH=/usr/local/lib \
+		-v /usr/local:/usr/local:ro \
+		-v $hacks:/osmo-ttcn3-hacks:ro \
+		"
 	export NO_LIST_OSMO_PACKAGES=1
 	./jenkins.sh
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/25188
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I0dd7fb544ca59cb1df19fc3d73cfd07f3374e123
Gerrit-Change-Number: 25188
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210812/6328cbf1/attachment.htm>


More information about the gerrit-log mailing list