symbol lookup error: /usr/sbin/ModemManager: undefined symbol: mm_location_3gpp_set_mobile_country_code after build

roee klinger roeeklinger60 at gmail.com
Fri Oct 28 14:01:03 UTC 2022


Hello,

Thanks for the reply, Alek.
> And "sudo make install" I hope?

Yes of course, I forgot to add that.
> If you tried to remove those flags it could very well be that you
> installed under /usr/local also and then there's a mix of libraries
> and binaries around.
I tried first with the flags, and then I did a make uninstall, and tried again without the flags.
> This looks like the MM program is trying to use an older library in
> the system, not really a problem in the MM build I'm afraid.
I understand, so what can cause this and how can I resolve this?

Would a fresh install of Ubuntu and then a build do the trick?

Thanks,
Roee
On 28 Oct 2022, 12:46 +0300, Aleksander Morgado <aleksander at aleksander.es>, wrote:
> Hey,
>
> > 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
> > 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
> > reported that makes it unstable for my project:
> > https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/574
> >
>
> That is really unfortunate, if someone can help try to debug this
> issue further, it would be great. According to the comment I added in
> that issue it could be related to how the inhibition process leaves a
> port around open in the old modem object.
>
> > 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.
> >
> > I have ran the following, as per this build guide: https://modemmanager.org/docs/modemmanager/building/building-autotools/
> >
> > $ wget https://www.freedesktop.org/software/ModemManager/ModemManager-1.16.6.tar.xz
> > $ tar -Jxvf ModemManager-1.16.6.tar.xz
> > $ cd ModemManager-1.16.6
> > $ ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu --with-qmi --with-mbim --with-suspend-resume=systemd
> > $ make
>
> And "sudo make install" I hope?
>
> >
> >
> > but systemd fails to load the service, and if I try manually I get this:
> >
> > $ /usr/sbin/ModemManager
> > /usr/sbin/ModemManager: symbol lookup error: /usr/sbin/ModemManager: undefined symbol: mm_location_3gpp_set_mobile_country_code
>
> This looks like the MM program is trying to use an older library in
> the system, not really a problem in the MM build I'm afraid.
>
> >
> >
> > I have also tried removing these flags:
> >
> > --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu
> >
>
> If you tried to remove those flags it could very well be that you
> installed under /usr/local also and then there's a mix of libraries
> and binaries around.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20221028/3651977b/attachment.htm>


More information about the ModemManager-devel mailing list