Change in libosmocore[master]: fix tests linking: don't use system installed libs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Wed Sep 12 08:01:40 UTC 2018


Vadim Yanitskiy has posted comments on this change. ( https://gerrit.osmocom.org/5844 )

Change subject: fix tests linking: don't use system installed libs
......................................................................


Patch Set 6:

Hi Neels,

> Vadim, I don't understand why you can't reproduce this problem,

Well, does anyone else experience this problem too?

> maybe your installed libraries are simply not in the LD_LIBRARY_PATH?

My LD_LIBRARY_PATH is empty, all libraries are installed to the
default '/usr/local/lib/' location, that is configured for most
Debian based distributions in '/etc/ld.so.conf.d/libc.conf'.

I just even tried to explicitly set LD_LIBRARY_PATH to '/usr/local/lib/',
but the result is the same, not matching your output:

$ for l in $(find . -name "*.so") ; do echo; echo "$l"; ldd $l | grep libosmo; done
./src/coding/.libs/libosmocoding.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f8fac718000)
	libosmogsm.so.10 => /opt/osmocom/libosmocore/src/gsm/.libs/libosmogsm.so.10 (0x00007f8fac4bf000)
	libosmocodec.so.0 => /opt/osmocom/libosmocore/src/codec/.libs/libosmocodec.so.0 (0x00007f8fac2bb000)

./src/sim/.libs/libosmosim.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f0439542000)
	libosmogsm.so.10 => /opt/osmocom/libosmocore/src/gsm/.libs/libosmogsm.so.10 (0x00007f04392e9000)

./src/.libs/libosmocore.so

./src/gsm/.libs/libosmogsm.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f68f8339000)

./src/gb/.libs/libosmogb.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f2989c75000)
	libosmovty.so.4 => /opt/osmocom/libosmocore/src/vty/.libs/libosmovty.so.4 (0x00007f2989a55000)
	libosmogsm.so.10 => /opt/osmocom/libosmocore/src/gsm/.libs/libosmogsm.so.10 (0x00007f29897fc000)

./src/vty/.libs/libosmovty.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f064ba63000)

./src/codec/.libs/libosmocodec.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f9731650000)

./src/ctrl/.libs/libosmoctrl.so
	libosmocore.so.11 => /opt/osmocom/libosmocore/src/.libs/libosmocore.so.11 (0x00007f187bd94000)
	libosmogsm.so.10 => /opt/osmocom/libosmocore/src/gsm/.libs/libosmogsm.so.10 (0x00007f187bb3b000)
	libosmovty.so.4 => /opt/osmocom/libosmocore/src/vty/.libs/libosmovty.so.4 (0x00007f187b91b000)

where '/opt/osmocom/libosmocore/' is exactly the build directory...


-- 
To view, visit https://gerrit.osmocom.org/5844
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id084e6e6efd25cd62b1bd7a4fc7c5985c39130c6
Gerrit-Change-Number: 5844
Gerrit-PatchSet: 6
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Comment-Date: Wed, 12 Sep 2018 08:01:40 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180912/25c2784e/attachment.htm>


More information about the gerrit-log mailing list