discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Anyone have any clue? I've run out of ideas


From: Marcus D. Leech
Subject: [Discuss-gnuradio] Anyone have any clue? I've run out of ideas
Date: Fri, 21 Jun 2013 14:32:58 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

User has run build-gnuradio. The verbose log looks just fine, their settings for PYTHONPATH, and ld.so.conf.d settings are all just fine.

Yet, for osmosdr:



address@hidden:~$ python -c "import osmosdr"
linux; GNU C++ version 4.7.3; Boost_105300; UHD_003.005.003-83-g3924a4d7

Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 45, in <module>
    from osmosdr_swig import *
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 26, in <module>
    _osmosdr_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: dynamic module does not define init function (init_osmosdr_swig)

And gnuradio itself:

address@hidden:~$ python -c "import osmosdr"
linux; GNU C++ version 4.7.3; Boost_105300; UHD_003.005.003-83-g3924a4d7

Traceback (most recent call last):
  File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 45, in <module>
    from osmosdr_swig import *
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 26, in <module>
    _osmosdr_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
    _mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: dynamic module does not define init function (init_osmosdr_swig)

And of course, when they try to run gnuradio-companion, it all falls apart.

This rather looks like a linker issue, but I can't find any reason for it. The target system is Ubuntu 13.04 x86_64.

I've been through their build log--nothing untoward. Their system appears to be configured properly, and PYTHONPATH appears to be good.
  But this persists.  I even had them manually:

sudo ldconfig /usr/local/lib

Just to see if maybe the config in ld.so.conf.d wasn't being handled.

The only thing I can think of now is that se-linux is getting in the way, but does Ubuntu 13.04 ship with se-linux turned on?


--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org




reply via email to

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