<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Hello,<br />
<br />
Thanks for the reply, Alek.<br /></div>
<blockquote style="border-left-color: rgb(26, 188, 156); margin: 5px; padding-left: 10px; border-left-width: thin; border-left-style: solid;">And "sudo make install" I hope?</blockquote>
<div dir="auto"><br />
Yes of course, I forgot to add that.</div>
<blockquote style="border-left-color: rgb(26, 188, 156); margin: 5px; padding-left: 10px; border-left-width: thin; border-left-style: solid;">If you tried to remove those flags it could very well be that you<br />
installed under /usr/local also and then there's a mix of libraries<br />
and binaries around.</blockquote>
<div dir="auto">I tried first with the flags, and then I did a make uninstall, and tried again without the flags.</div>
<blockquote style="border-left-color: rgb(26, 188, 156); margin: 5px; padding-left: 10px; border-left-width: thin; border-left-style: solid;">This looks like the MM program is trying to use an older library in<br />
the system, not really a problem in the MM build I'm afraid.</blockquote>
<div dir="auto">I understand, so what can cause this and how can I resolve this?<br />
<br />
Would a fresh install of Ubuntu and then a build do the trick?<br />
<br />
Thanks,<br />
Roee</div>
</div>
<div name="messageReplySection">On 28 Oct 2022, 12:46 +0300, Aleksander Morgado <aleksander@aleksander.es>, wrote:<br />
<blockquote type="cite" style="border-left-color: grey; border-left-width: thin; border-left-style: solid; margin: 5px 5px;padding-left: 10px;">Hey,<br />
<br />
<blockquote type="cite">I have been using MM 1.16.6 successfully for the last year for a project, and recently I needed to install it on a new server, but discovered that version<br />
1.16 is no longer available in Ubuntu apt repositories, only 1.12 and 1.18 are available. Unfortunately, 1.12 doesn’t work for me, and 1.18 has this bug that I<br />
reported that makes it unstable for my project:<br />
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/574<br />
<br /></blockquote>
<br />
That is really unfortunate, if someone can help try to debug this<br />
issue further, it would be great. According to the comment I added in<br />
that issue it could be related to how the inhibition process leaves a<br />
port around open in the old modem object.<br />
<br />
<blockquote type="cite">I have been trying to get a modemanager 1.16 .deb file to install on my Ubuntu 20.04 system, but was not able to find one online, so I decided to compile from source.<br />
<br />
I have ran the following, as per this build guide: https://modemmanager.org/docs/modemmanager/building/building-autotools/<br />
<br />
$ wget https://www.freedesktop.org/software/ModemManager/ModemManager-1.16.6.tar.xz<br />
$ tar -Jxvf ModemManager-1.16.6.tar.xz<br />
$ cd ModemManager-1.16.6<br />
$ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --with-qmi --with-mbim --with-suspend-resume=systemd<br />
$ make<br /></blockquote>
<br />
And "sudo make install" I hope?<br />
<br />
<blockquote type="cite"><br />
<br />
but systemd fails to load the service, and if I try manually I get this:<br />
<br />
$ /usr/sbin/ModemManager<br />
/usr/sbin/ModemManager: symbol lookup error: /usr/sbin/ModemManager: undefined symbol: mm_location_3gpp_set_mobile_country_code<br /></blockquote>
<br />
This looks like the MM program is trying to use an older library in<br />
the system, not really a problem in the MM build I'm afraid.<br />
<br />
<blockquote type="cite"><br />
<br />
I have also tried removing these flags:<br />
<br />
--prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu<br />
<br /></blockquote>
<br />
If you tried to remove those flags it could very well be that you<br />
installed under /usr/local also and then there's a mix of libraries<br />
and binaries around.<br /></blockquote>
</div>
</body>
</html>