Error in new block

Hello all

I am quite new to gnuradio. I am trying to create a new block. I have
edited gr-howto codes to make gr-ofdm (although it does not do anything
related to ofdm as of now).

I built it and installed it and it works fine on my lab machine. When I
use the same codes at my home machine, it gives me following errors. In
the lab, I use Ubuntu 12.04 with gnuradio git development code and at
home
I use Ubuntu 11.10 with same gnuradio git code.

Traceback (most recent call last):
File “/usr/local/bin/ofdm_cube.py”, line 16, in
import ofdm.ofdm_swig
File "/usr/local/lib/python2.7/dist-packages/ofdm/ofdm_swig.py"f, line
24, in
_ofdm_swig = swig_import_helper()
File “/usr/local/lib/python2.7/dist-packages/ofdm/ofdm_swig.py”, line
20, in swig_import_helper
_mod = imp.load_module(‘_ofdm_swig’, fp, pathname, description)
ImportError: libgnuradio-ofdm.so: cannot open shared object file: No
such
file or directory

I have uploaded my code on github. The link to it is as follows-

I have ofdm_cube.py and ofdm_power4.py apps in the apps folder which on
running give above error.

I don’t know why same code works in one machine and gives error in other
one. Please help me out here. I would like to create a generic code
which
would work independent of machine.

thanks!

Regards
Pranav Sakulkar

Did you remember:

sudo ldconfig

?

On Fri, Jun 15, 2012 at 11:18:55PM +0200, [email protected]
wrote:

Hello all

I am quite new to gnuradio. I am trying to create a new block. I have
edited gr-howto codes to make gr-ofdm (although it does not do anything
related to ofdm as of now).

Also, you could use gr-modtool[1] to do all the editing.

MB

[1] https://cgran.org/wiki/devtools


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