A last(?) hurdle?

After updating a series of programs, I lost the use of gnuradio.
Several problems have been solved, and I have recompiled gr+grc,
and it is running again.

When I execute a fairly simple program, I get the following error:

File “”, line 1, in
File
“/usr/local/lib64/python2.6/site-packages/gnuradio/wxgui/forms/init.py”,
line 36, in from forms import
File
“/usr/local/lib64/python2.6/site-packages/gnuradio/wxgui/forms/forms.py”,
line 45, in import wx
File
“/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/init.py”,
line 45, in from wx._core import *
File
“/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”,
line 14774, in from _misc import *
File
“/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py”,
line 4, in import misc

ImportError:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/misc.so:
symbol _ZN7wxSound6CreateEiPKh, version WXU_2.8 not defined in file
libwx_gtk2u_adv-2.8.so.0 with link time reference

I recompiled wxpython, wxgtk, checked dependencies:

<ldd /usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/misc.so
| grep libwx_gtk2u_ad
libwx_gtk2u_adv-2.8.so.0 => /usr/lib64/libwx_gtk2u_adv-2.8.so.0
(0x00007f33cdded000)

Checked if the symbol is in the libwx_gtk2u_adv-2.8.so.0 library:

readelf -W -s /usr/lib64/libwx_gtk2u_adv-2.8.so | grep
_ZN7wxSound6CreateEiPKh
682: 00000000000b1440 133 FUNC GLOBAL DEFAULT 11
_ZN7wxSound6CreateEiPKh@@WXU_2.8.11
854: 00000000000b1440 133 FUNC GLOBAL DEFAULT 11
_ZN7wxSound6CreateEiPKh

Is it the .11 in the 2.8.11 reference?

Any suggestions? (Lots of similar cases on the 'net, no solutions
found…)

TIA,
John

sudo rm /usr/local/lib64/libgnuradio*

Then re-do your gnuradio
build and install

Then “sudo ldconfig”

On Tue, 13 Mar 2012 10:54:48
-0300, John C. wrote:

After updating a series of programs, I
lost the use of gnuradio.
Several problems have been solved, and I
have recompiled gr+grc,
and it is running again.

When I execute a
fairly simple program, I get the following error:

File “”, line 1,
in
File
“/usr/local/lib64/python2.6/site-packages/gnuradio/wxgui/forms/init.py”,

line 36, in from forms import
File
“/usr/local/lib64/python2.6/site-packages/gnuradio/wxgui/forms/forms.py”,

line 45, in import wx

File
“/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/init.py”,

line 45, in from wx._core import *

File
“/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”,

line 14774, in from _misc import *

File
“/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_misc.py”,

line 4, in import misc

ImportError:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/misc.so:

symbol _ZN7wxSound6CreateEiPKh, version WXU_2.8 not defined in file

libwx_gtk2u_adv-2.8.so.0 with link time reference

I recompiled
wxpython, wxgtk, checked dependencies:

/usr/lib64/libwx_gtk2u_adv-2.8.so.0 (0x00007f33cdded000)

Checked if
the symbol is in the libwx_gtk2u_adv-2.8.so.0 library:

readelf -W
-s /usr/lib64/libwx_gtk2u_adv-2.8.so | grep _ZN7wxSound6CreateEiPKh

682: 00000000000b1440 133 FUNC GLOBAL DEFAULT 11
_ZN7wxSound6CreateEiPKh@@WXU_2.8.11

854: 00000000000b1440 133 FUNC
GLOBAL DEFAULT 11 _ZN7wxSound6CreateEiPKh

Is it the .11 in the
2.8.11 reference?

Any suggestions? (Lots of similar cases on the
'net, no solutions found…)

On Tue, 13 Mar 2012 10:01:09 -0400
[email protected] wrote:

sudo rm /usr/local/lib64/libgnuradio*

Then re-do your gnuradio
build and install

Then “sudo ldconfig”

Thanks Martin, but no luck there. Exactly the same error.

John

On Tue, 13 Mar 2012 10:01:09 -0400
[email protected] wrote:

sudo rm /usr/local/lib64/libgnuradio*

Martin, though I’m far from being an experienced Python programmer,
please note that the error seems to be between non-gnuradio components:

ImportError:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/misc.so:
symbol _ZN7wxSound6CreateEiPKh, version WXU_2.8 not defined in file
libwx_gtk2u_adv-2.8.so.0 with link time reference

(even though the original call did come from GRC, of course)

John

Ah, I missed that. Probably your wxPython stuff is out of date.

You could try re-running the “build-gnuradio” script if you’re on
Ubuntu or Fedora.

-Marcus

On Tue, 13 Mar 2012 12:47:17 -0300, John
Coppens wrote:

On Tue, 13 Mar 2012 10:01:09 -0400

[email protected] [1] wrote:

sudo rm
/usr/local/lib64/libgnuradio*
Martin, though I’m far from being an
experienced Python programmer, please note that the error seems to be
between non-gnuradio components: ImportError:
/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/misc.so:
symbol _ZN7wxSound6CreateEiPKh, version WXU_2.8 not defined in file
libwx_gtk2u_adv-2.8.so.0 with link time reference (even though the
original call did come from GRC, of course) John
_______________________________________________ Discuss-gnuradio mailing
list [email protected] [2]
Discuss-gnuradio Info Page [3]

Links:

Thanks Martin, but to be honest, I’ve been called much worse :slight_smile:

On Tue, 13 Mar 2012 17:24:18 +0100, Martin B. wrote:

Try
calling him Marcus, perhaps that’ll help :smiley:

On Tue, Mar 13, 2012 at 12:35:51PM -0300, John C. wrote:

Thanks Martin, but no luck there. Exactly the same error.

Try calling him Marcus, perhaps that’ll help :smiley:

Martin


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

On Tue, 13 Mar 2012 17:24:18 +0100
Martin B. [email protected] wrote:

Try calling him Marcus, perhaps that’ll help :smiley:

Martin

Thanks Martin,

Yep, I’ll try to call Martin Marcus in the future, the problem was that
I was relying on my memory, which lately got somewhat warbled (more than
usual) by this resistant bug. Sorry for the confusion!

John