<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">> root@x088:~# qmicli -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip -v<br>
> [10 Mar 2016, 14:58:15] [Debug] [/dev/cdc-wdm0] Opening device with flags<br>
> 'none'...<br>
> [10 Mar 2016, 14:58:15] [Debug] QMI Device at '/dev/cdc-wdm0' ready<br>
> [10 Mar 2016, 14:58:15] [Debug] Setting expected WWAN data format this<br>
> control port...<br>
> qmicli: symbol lookup error: qmicli: undefined symbol:<br>
> qmi_device_expected_data_format_get_type<br>
> root@x088:~#<br>
><br>
> The qmicli error on "symbol lookup error" I can see on other commands as<br>
> well.<br>
><br>
> Am I missing something?<br>
<br>
</span>Looks like qmicli from git master, trying to use libqmi-glib from your<br>
system-installed package. If you installed libqmi somewhere else not<br>
in /usr, you'll need LD_LIBRARY_PATH; e.g.:<br>
<br>
$ LD_LIBRARY_PATH=/path/somewhere/lib /path/somewhere/bin/qmicli --version<br>
<span class=""><font color="#888888"><br></font></span></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">I have used "/usr" in autogen (./autogen.sh --prefix=/usr).</div><div class="gmail_extra"><br></div><div class="gmail_extra">root@x088:~# which qmicli</div><div class="gmail_extra">/usr/bin/qmicli</div><div class="gmail_extra"><div class="gmail_extra">root@x088:~# /usr/bin/qmicli --version</div><div class="gmail_extra"><br></div><div class="gmail_extra">qmicli 1.13.7</div><div class="gmail_extra">Copyright (C) 2015 Aleksander Morgado</div><div class="gmail_extra">License GPLv2+: GNU GPL version 2 or later <<a href="http://gnu.org/licenses/gpl-2.0.html">http://gnu.org/licenses/gpl-2.0.html</a>></div><div class="gmail_extra">This is free software: you are free to change and redistribute it.</div><div class="gmail_extra">There is NO WARRANTY, to the extent permitted by law.</div><div class="gmail_extra"><br></div><div class="gmail_extra">root@x088:~# find / -name libqmi-glib<br></div><div class="gmail_extra"><div class="gmail_extra">/opt/libqmi/docs/reference/libqmi-glib</div><div class="gmail_extra">/opt/libqmi/src/libqmi-glib</div><div class="gmail_extra">/usr/include/libqmi-glib</div><div class="gmail_extra">root@x088:~#</div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">The files in /usr/include/libqmi-glib have all timestamps for today, when I compiled the package for this machine.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">root@x088:~# ls -la /usr/include/libqmi-glib</div><div class="gmail_extra">total 920</div><div class="gmail_extra">drwxr-xr-x 2 root root 4096 Mar 10 11:47 .</div><div class="gmail_extra">drwxr-xr-x 36 root root 4096 Mar 10 11:47 ..</div><div class="gmail_extra">-rw-r--r-- 1 root root 1969 Mar 10 11:47 libqmi-glib.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 3564 Mar 10 11:47 qmi-client.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 10244 Mar 10 11:47 qmi-device.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 116896 Mar 10 11:47 qmi-dms.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 13015 Mar 10 11:47 qmi-enums-dms.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 4981 Mar 10 11:47 qmi-enums.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 35246 Mar 10 11:47 qmi-enums-nas.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 5572 Mar 10 11:47 qmi-enums-oma.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 5288 Mar 10 11:47 qmi-enums-pbm.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 8179 Mar 10 11:47 qmi-enums-pds.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 2842 Mar 10 11:47 qmi-enums-private.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 12346 Mar 10 11:47 qmi-enums-uim.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 8265 Mar 10 11:47 qmi-enums-voice.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 2634 Mar 10 11:47 qmi-enums-wda.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 70881 Mar 10 11:47 qmi-enums-wds.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 20235 Mar 10 11:47 qmi-enums-wms.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 75685 Mar 10 11:47 qmi-enum-types.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 18403 Mar 10 11:47 qmi-errors.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 880 Mar 10 11:47 qmi-error-types.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 10409 Mar 10 11:47 qmi-flags64-dms.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 9998 Mar 10 11:47 qmi-flags64-nas.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 1503 Mar 10 11:47 qmi-flags64-types.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 14066 Mar 10 11:47 qmi-message.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 137449 Mar 10 11:47 qmi-nas.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 22604 Mar 10 11:47 qmi-oma.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 19287 Mar 10 11:47 qmi-pbm.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 35774 Mar 10 11:47 qmi-pds.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 2100 Mar 10 11:47 qmi-proxy.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 39910 Mar 10 11:47 qmi-uim.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 8116 Mar 10 11:47 qmi-utils.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 2221 Mar 10 11:47 qmi-version.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 21052 Mar 10 11:47 qmi-voice.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 13438 Mar 10 11:47 qmi-wda.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 65203 Mar 10 11:47 qmi-wds.h</div><div class="gmail_extra">-rw-r--r-- 1 root root 42652 Mar 10 11:47 qmi-wms.h</div><div class="gmail_extra">root@x088:~#</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">But I can try to uninstall the system package.</div><div><br></div><div>-Sebastian</div>
</div></div>