<div dir="ltr">Hi Harald, you nailed it.<div><br></div><div>The packages were an old custom built with some custom parameters.</div><div><br></div><div>By just installing the osmocom Ubuntu 20.04 apt repository (<a href="https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04/">https://download.opensuse.org/repositories/network:/osmocom:/latest/xUbuntu_20.04/</a>) simtrace2 runned perfectly.</div><div><br></div><div>Thanks. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 13 Nov 2021 at 09:40, Harald Welte <<a href="mailto:laforge@osmocom.org">laforge@osmocom.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Felix,<br>
<br>
On Fri, Nov 12, 2021 at 06:16:23PM +0100, J. Félix Ontañón wrote:<br>
> It is the very first time I see this error. I'm using a fresh Ubuntu 20.04.<br>
<br>
Unfortuantely you didn't specify how you installed simtrace2, i.e. where those<br>
pacakges listed below originate from:<br>
<br>
> libosmocodec0_1.4.1_amd64<br>
> libosmocodec-doc_1.4.1_all<br>
> libosmocoding0_1.4.1_amd64<br>
> libosmocoding-doc_1.4.1_all<br>
> libosmocore_1.4.1_amd64<br>
> libosmocore16_1.4.1_amd64<br>
> libosmocore-dbg_1.4.1_amd64<br>
> libosmocore-dev_1.4.1_amd64<br>
> libosmocore-doc_1.4.1_all<br>
> libosmocore-utils_1.4.1_amd64<br>
> libosmoctrl0_1.4.1_amd64<br>
> libosmoctrl-doc_1.4.1_all<br>
> libosmogb11_1.4.1_amd64<br>
> libosmogb-doc_1.4.1_all<br>
> libosmogsm15_1.4.1_amd64<br>
> libosmogsm-doc_1.4.1_all<br>
> libosmosim2_1.4.1_amd64<br>
> libosmo-simtrace2-0_0.5.2_amd64<br>
> libosmo-simtrace2-dev_0.5.2_amd64<br>
> libosmousb0_1.4.1_amd64<br>
> libosmovty4_1.4.1_amd64<br>
> libosmovty-doc_1.4.1_all<br>
> osmocom-latest_0.0.0_amd64<br>
> simtrace2-firmware_0.5.2_all<br>
> simtrace2-utils_0.5.2_amd64<br>
<br>
maybe you have a mixture of distribution-built packages (libosmocroe?) and<br>
osmocom-latest (simtrace2?)<br>
<br>
> $ simtrace2-sniff<br>
> simtrace2-sniff: symbol lookup error: simtrace2-sniff: undefined symbol:<br>
> usb_open_claim_interface<br>
<br>
This is a function implemented in libosmocore commit<br>
<br>
> commit d462e3fa7b22b046b1c3d7cb46be5760b6fd308a<br>
> Author: Harald Welte <<a href="mailto:laforge@osmocom.org" target="_blank">laforge@osmocom.org</a>><br>
> Date:   Sun Dec 15 20:04:51 2019 +0100<br>
<br>
i.e. any version of libosmocore >= 1.3.0.  The usb support is built automatically<br>
unless somebody compiles libosmocore with "./configure --disable-libusb"<br>
<br>
So in any case, IMHO, this kind of error can only occur if:<br>
<br>
a) your simtrace2 software was built against a libosmocore with libusb support<br>
b) your runtime system has a libosmocore _without_ libusb installed<br>
<br>
Regards,<br>
        Harald<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@osmocom.org" target="_blank">laforge@osmocom.org</a>>            <a href="http://laforge.gnumonks.org/" rel="noreferrer" target="_blank">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                  (ETSI EN 300 175-7 Ch. A6)<br>
</blockquote></div>