<p>pespin <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17736">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">contrib: build amarisoft: Set trx_zmq.so RPATH to point to copied dependency libsrslte_rf.so<br><br>In the ENB case it's not really required since osmo-gsm-tester makes use<br>of LD_LIBRARY_PATH. However, since the UE is potentially run with<br>capabilitites to create tunnels and alike, LD_LIBRARY_PATH cannot be<br>used and lteue will fail to load trx_zmq.so (because it cannot find its<br>dependency libsrslte_rf.so).<br><br>Change-Id: Ifcbc6ed1c4c465b4cfab4c5689cde44624095f29<br>---<br>M contrib/jenkins-build-amarisoft.sh<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/contrib/jenkins-build-amarisoft.sh b/contrib/jenkins-build-amarisoft.sh</span><br><span>index f971578..e4b37cc 100755</span><br><span>--- a/contrib/jenkins-build-amarisoft.sh</span><br><span>+++ b/contrib/jenkins-build-amarisoft.sh</span><br><span>@@ -47,6 +47,7 @@</span><br><span> if [ "x${BUILD_AMARISOFT_TRX_ZMQ}" = "x1" ]; then</span><br><span>         cp ${base}/${project_name_srslte}/build/lib/src/phy/rf/libsrslte_rf.so inst-amarisoftenb/</span><br><span>         cp ${base}/${project_name_zmq}/build/libtrx_zmq-linux-2018-10-18.so inst-amarisoftenb/trx_zmq.so</span><br><span style="color: hsl(120, 100%, 40%);">+        patchelf --set-rpath '$ORIGIN/' inst-amarisoftenb/trx_zmq.so</span><br><span> fi</span><br><span> cp ${base}/inst-tmp/trx_uhd-linux*/trx_uhd.so inst-amarisoftenb/</span><br><span> this="amarisoftenb.build-${BUILD_NUMBER-$(date +%Y-%m-%d_%H_%M_%S)}"</span><br><span>@@ -60,6 +61,7 @@</span><br><span> if [ "x${BUILD_AMARISOFT_TRX_ZMQ}" = "x1" ]; then</span><br><span>         cp ${base}/${project_name_srslte}/build/lib/src/phy/rf/libsrslte_rf.so inst-amarisoftue/</span><br><span>         cp ${base}/${project_name_zmq}/build/libtrx_zmq-linux-2018-10-18.so inst-amarisoftue/trx_zmq.so</span><br><span style="color: hsl(120, 100%, 40%);">+        patchelf --set-rpath '$ORIGIN/' inst-amarisoftue/trx_zmq.so</span><br><span> fi</span><br><span> cp ${base}/inst-tmp/trx_uhd-linux*/trx_uhd.so inst-amarisoftue/</span><br><span> this="amarisoftue.build-${BUILD_NUMBER-$(date +%Y-%m-%d_%H_%M_%S)}"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17736">change 17736</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17736"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ifcbc6ed1c4c465b4cfab4c5689cde44624095f29 </div>
<div style="display:none"> Gerrit-Change-Number: 17736 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>