On Tue, May 1, 2012 at 11:13 AM, bharadwaj desikan <bharadwaj...@gmail.com> wrote: > Hi all > > I have been trying to build the Gnuradio to work along with jello based > OFDM implementation. > I have also seen other related issues concerning the same topic > > I am getting the following error when i am running the uhd_fft.py after the > successful installation. > For that matter, What ever file I run I am getting the same error . > > > Traceback (most recent call last): > File "/usr/local/bin/uhd_fft.py", line 24, in <module> > from gnuradio import uhd > File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py", > line 87, in <module> > _prepare_uhd_swig() > File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/__init__.py", > line 26, in _prepare_uhd_swig > import uhd_swig > File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", > line 24, in <module> > _uhd_swig = swig_import_helper() > File "/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", > line 20, in swig_import_helper > _mod = imp.load_module('_uhd_swig', fp, pathname, description) > ImportError: libgnuradio-uhd-3.4.0.so.0: cannot open shared object file: No > such file or directory > > Note : I have done a fresh installation.. > > Please suggest some solution.Thanks in Advance.. > > Thanks > Regards > > Bharadwaj D
It looks like your LD_LIBRARY_PATH isn't pointing to the lib directory where libuhd is located. When you installed UHD, where did you install it into? It's likely that you just have to 'export LD_LIBRARY_PATH=/usr/local/lib' (change that last part to wherever libuhd.so is). You _may_ have to run 'sudo ldconfig', too. Tom _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio