Hey Aleksander,

Thank-you for your advice. We've managed to install version 1.14.2 with no 
further issues following the steps you outlined.

Unfortunately, when using the software, we didn't quite get the result that we 
were hoping for - our modem reported capability is still only shown as being 4g 
when we would expect/hope to see 5gnr.
We're working with the SIMCOM8200-M2 unit 
(https://www.simcom.com/product/SIM8200-M2_series.html)

We think this issue might be related to the qmi driver rather than a problem 
with ModemManager.

We received a qmi_wwan driver for the module from the manufacturer that we 
haven't installed yet.
We didn't need to do this update when doing operations in LTE (which was using 
MM 1.12.8) as everything was happy with the default drivers.

We have a functioning gNB in our lab, which the modem will connect to (verified 
by the gNB / 5GPC and the modem using AT Commands) but we can't "share" this 
connectivity with the compute platform connected to the modem.

Is there anything that you could maybe suggest to address this? 
I appreciate this might not be specifically about ModemManager anymore.

Any help or advice is much appreciated.  

Kind regards,

Dani Anderson
University of Strathclyde

-----Original Message-----
From: Aleksander Morgado <aleksan...@aleksander.es> 
Sent: 22 October 2020 09:17
To: Dani Anderson <dani.ander...@strath.ac.uk>
Cc: modemmanager-devel@lists.freedesktop.org; Douglas Allan 
<d.al...@strath.ac.uk>
Subject: Re: ModemManager 1.14.2 Setup - undefined symbol error and/or 
'libmbim-glib.la' was moved error

Hey Dani

>
> And repeated the installation with
>
> --libdir=/usr/lib/x86_64-linux-gnu/
>

Yes, this is the correct way to do it in Ubuntu.

i.e. ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu/

>

>
>
> CC       mm-helper-enums-types.lo
>
> CCLD     libhelpers.la
>
> /usr/bin/grep: /usr/lib/libmbim-glib.la: No such file or directory
>
> /usr/bin/sed: can't read /usr/lib/libmbim-glib.la: No such file or 
> directory
>
> libtool:   error: '/usr/lib/libmbim-glib.la' is not a valid libtool archive
>

That is attempting to locate libraries from your previous install? I assume 
there was some "uninstall" not done properly.

If you want a clean uninstall from /usr/lib, try to do the steps from scratch 
again using --libdir=/usr/lib (the wrong path), e.g. for all libmbim, libqmi 
and ModemManager:
$ ./configure --prefix=/usr --libdir=/usr/lib && make -j8 && sudo make install 
Once you have installed all, you can uninstall starting from ModemManager, then 
libqmi, then libmbim:
$ sudo make uninstall

That previous command will also remove things like qmicli or the actual MM 
daemon, but don't worry.

And then, repeat the process but using the correct libdir in Ubuntu, e.g.:
$ ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu/ && make -j8 && 
sudo make install

Anyway, your original problem where you installed in /usr/lib and then MM or 
other programs were reporting missing symbols are because Ubuntu will look 
first for libraries in /usr/lib/x86_64-linux-gnu/ and if they're not found it 
will look for them in /usr/lib. In your case, the system-installed library was 
in /usr/lib/x86_64-linux-gnu/ already so the program didn't try to load the new 
one you had in /usr/lib. To solve this, either install with libdir in 
/usr/lib/x86_64-linux-gnu/ as explained, or you could also run your programs 
manually specifying LD_LIBRARY_PATH=/usr/lib to override the system default.

--
Aleksander
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faleksander.es%2F&amp;data=04%7C01%7Cdani.anderson%40strath.ac.uk%7C3439725184904b00885808d87662f268%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C637389515084426163%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=KvSi88rXOuW6UIO93FBTZBT81Kdaj1XuQ1umhiw9Uxk%3D&amp;reserved=0
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to