problem with dell latitude

Aleksander Morgado aleksander at aleksander.es
Tue Jul 18 19:09:27 UTC 2017


On Tue, Jul 18, 2017 at 8:30 PM, Bartłomiej Knabel
<bartlomiej.knabel at gmail.com> wrote:
>> Bartłomiej, I think your ./configure arguments aren't quite right.
>> Your build is linking to the older, non-rebuilt version of libmbim in
>> /usr/lib.  But we want to link to your custom version in /usr/local.
>>
>> Do you have a /usr/local/lib/libmbim-glib.so?
>>
>
> Hey Dan,
>
> take a look:
> bknabellatitude ModemManager-1.6.8 # ls -l /usr/local/lib/libmbim-glib.so
> lrwxrwxrwx 1 root root 21 lip 18 11:46 /usr/local/lib/libmbim-glib.so ->
> libmbim-glib.so.4.2.0
>
>
> and:
> bknabellatitude ModemManager-1.6.8 # locate libmbim-glib.so
> /usr/lib/libmbim-glib.so
> /usr/lib/libmbim-glib.so.4
> /usr/lib/libmbim-glib.so.4.2.0
> /usr/lib/x86_64-linux-gnu/libmbim-glib.so
> /usr/lib/x86_64-linux-gnu/libmbim-glib.so.0
> /usr/lib/x86_64-linux-gnu/libmbim-glib.so.0.2.1
> /usr/lib/x86_64-linux-gnu/libmbim-glib.so.4
> /usr/lib/x86_64-linux-gnu/libmbim-glib.so.4.1.0

Ah, so you actually installed in /usr/local the libraries? Didn't you
use --prefix=/usr?

If you installed in /usr/local, you need to use:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure....

And then when running:
LD_LIBRARY_PATH=/usr/local/lib ModemManager ...

Easiest thing, though, would be to always use --prefix=/usr and just
make install there (although that will somewhat break whatever you had
installed via system packages, which isn't usually a big deal, but I
didn't tell you to do this).

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list