Linker not picking up right mbim-glib location
Cathy Logan
logancathy33 at gmail.com
Sun Mar 10 17:57:01 UTC 2019
Thanks Aleksander, that worked perfectly for getting the libraries linked
in correctly.
Do I continue to configure the ModemManager install the same following
that? Now running ModemManager --debug gives me the following error:
ModemManager: symbol lookup error: ModemManager: undefined symbol:
mm_gdbus_modem3gpp_set_initial_eps_bearer
Thanks again.
On Sun, Mar 10, 2019 at 3:20 AM Aleksander Morgado <aleksander at aleksander.es>
wrote:
> Hey,
>
> > Thought I'd gotten through all the issues, but have one more that I
> can't seem to figure out:
> >
> > Have built and installed mbim-glib 1.18.0 in /usr/local/lib (as well as
> qmi-glib).
> > Using ./configure of :
> > ./configure LDFLAGS="-L/usr/local/lib/libqmi-glib.so.5 -lqmi-glib
> -L/usr/local/lib/libmbim-glib.so.4 -lmbim-glib"
> >
> > Configure works fine and says it sees mbim-glib, but then make fails
> with:
> > /bin/grep: /usr/lib/libmbim-glib.la: No such file or directory
> > /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
> >
> > I can't figure out why it continues to look in /usr/lib and not
> /usr/local/lib. Any help would be greatly appreciated!
> >
>
> If you want everything installed in /usr/local/lib, please configure
> and compile both libmbim-glib and libqmi-glib like this:
>
> $ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure && make -j8 &&
> sudo make install
>
> NOTE: you don't need --prefix because /usr/local is the default.
> NOTE: when building libmbim you can really ignore the PKG_CONFIG_PATH
> envvar, as it doesn't depend on anything built there
>
>
> --
> Aleksander
> https://aleksander.es
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20190310/435510e4/attachment.html>
More information about the ModemManager-devel
mailing list