QMICLI/symbol lookup error

Sebastian Sjoholm sebastian.sjoholm at gmail.com
Sun Mar 13 07:48:49 UTC 2016


Hi,

Regarding the issue with qmicli. I have removed the apt installed qmicli package and compiled from GIT master the latest version.

> 
> Looks like qmicli from git master, trying to use libqmi-glib from your
> system-installed package. If you installed libqmi somewhere else not
> in /usr, you'll need LD_LIBRARY_PATH; e.g.:
> 
> $ LD_LIBRARY_PATH=/path/somewhere/lib /path/somewhere/bin/qmicli --version
> 


root at SBC13:/opt/libqmi# qmicli -d /dev/cdc-wdm0 -e -v
[13 Mar 2016, 08:22:38] [Debug] [/dev/cdc-wdm0] Opening device with flags 'none'...
[13 Mar 2016, 08:22:38] [Debug] QMI Device at '/dev/cdc-wdm0' ready
[13 Mar 2016, 08:22:38] [Debug] Getting expected WWAN data format this control port...
qmicli: symbol lookup error: qmicli: undefined symbol: qmi_device_get_expected_data_format
root at SBC05:~#

When using the “LD_LIBRARY_PATH” in front, then it will work as specified.

root at SBC05:~# LD_LIBRARY_PATH=/usr/lib/ /usr/bin/qmicli -d /dev/cdc-wdm0 -e
802-3
root at SBC05:~#

So basically by setting the LD_LIBRARY_PATH like:

export LD_LIBRARY_PATH=/usr/lib/

will fix it.

Regards,
Sebastian




More information about the libqmi-devel mailing list