hi all:
     I use the command create-gnuradio-out-of-tree-project to bulid a new 
block,and after that I use the following command:
     ./bootstrap
     ./configure
     make
     make check
     sudo make install
     Then I thought I had installed the new block.then I want to import the new 
block in the python to make sure it is successfully installed.Then I got this:

tianxia...@ubuntu:~/gnuradio-3.3.0/test_example$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import test_example
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/dist-packages/test_example/__init__.py", line 
40, in <module>
    from test_example_swig import *
  File 
"/usr/local/lib/python2.6/dist-packages/test_example/test_example_swig.py", 
line 24, in <module>
    _test_example_swig = swig_import_helper()
  File 
"/usr/local/lib/python2.6/dist-packages/test_example/test_example_swig.py", 
line 20, in swig_import_helper
    _mod = imp.load_module('_test_example_swig', fp, pathname, description)
ImportError: libgnuradio-test_example.so.0: cannot open shared object file: No 
such file or directory

    My python is not very well,so I hope someone can help me figure it out.
    Thank you in advance.                                         
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to