discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Python errors running flowgraph - first attempt


From: Chris Hallinan
Subject: Re: [Discuss-gnuradio] Python errors running flowgraph - first attempt
Date: Mon, 9 Feb 2015 05:00:13 -0500

On Sun, Feb 8, 2015 at 2:17 PM, Larry Van Der Jagt <address@hidden> wrote:
> Hello:
>
> Just chiming in with the fact that I am struggling with this identical issue
> using a "Dizzy" build for an Ettus E310 running on the device.
>
> I have tried a number of different example flowgraphs that utilize QT GUI
> and have come up with the exact same error
>
> File "/usr/lib/pyhon2.7/site-packages/PyQt4/Qt.py, line 3, in <module> from
> pyQt4.QTDeclarativeImport *
> ImportError : /usr/lib/python2.7/site-packages/PyQt4/QtDEclarative.so:
> undefined symbol: _ZTI16QTDeclarativeView
>
> Any insights are always welcomed.

I've done some further investigating on this issue, though I do not
know it's root cause.  I worked around the issue by loading the
library(s) containing the missing symbols using LD_PRELOAD.  It might
be because you simply don't have the package containing
QTDeclarativeView installed.  It comes from the QtDeclarative module
of Qt, and you should have a library named something like:
"libQtDeclarative.so*"

You can find those symbols using readelf on your system.  If you are
on an embedded system, you'll need to use your embedded version of
readelf:

$ readelf -s /usr/lib64/libQtDeclarative.so.4.8.5  (change names/paths
to match  your system)

In my case, I have the modules but my python app is not finding them.
Much more work ahead of me! ;)

Regards,

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]