Hi Richard, this looks like you've installed a "good" version of QWT, which is used when building GNU Radio, but when running a GNU Radio program, a different version of the QWT library is loaded, which leads to missing symbols.
My first approach would be to run ldd on /home/tsvcis/Documents/target/lib64/libgnuradio-qtgui-3.7.7git.so.0.0.0 , and see which qwt lib linux will try to load at runtime: ldd /home/tsvcis/Documents/target/lib64/libgnuradio-qtgui-3.7.7git.so.0.0.0|grep qwt. Then search for files that have the same base name, in this case libqwt.so . Greetings, Marcus On 01/26/2015 07:59 PM, Richard Bell wrote: > *Problem*: I can't use qtgui blocks. Wxgui blocks work. My system is > CentOS 6.6 running gnuradio 3.7.6 installed using pybombs. > > *Debug*: I've run cmake in pybombs/gnuradio/src/build to make sure > qtgui was enabled during install, and it is. The only gnuradio > components disabled that are listed by cmake are doxygen, sphinx, > gr-comedi and gr-zeromq. > > I then opened a terminal to test library imports. I can 'import > gnuradio' and I can 'from gnuradio import wxgui', as you would expect. > When I try, 'from gnuradio import qtgui', I get the following output: > > >>> import gnuradio > >>> from gnuradio import wxgui > >>> from gnuradio import qtgui > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File > "/home/tsvcis/Documents/target/lib64/python2.6/site-packages/gnuradio/qtgui/__init__.py", > line 34, in <module> > from qtgui_swig import * > File > "/home/tsvcis/Documents/target/lib64/python2.6/site-packages/gnuradio/qtgui/qtgui_swig.py", > line 26, in <module> > _qtgui_swig = swig_import_helper() > File > "/home/tsvcis/Documents/target/lib64/python2.6/site-packages/gnuradio/qtgui/qtgui_swig.py", > line 22, in swig_import_helper > _mod = imp.load_module('_qtgui_swig', fp, pathname, description) > ImportError: > /home/tsvcis/Documents/target/lib64/libgnuradio-qtgui-3.7.7git.so.0.0.0: > undefined symbol: _ZN7QwtPlot16staticMetaObjectE > >>> > > *Conclusion: *There is a problem with my qtgui install but I don't > know how to debug any further to apply a fix. I've googled the > traceback output with no luck. I'm hoping someone has come across and > fixed this issue before who could explain what's going on. > > v/r, > Rich > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio