# ImportError: libgnuradio-foo.so: cannot open shared object file: No such file or directory

**URL:** <https://www.ruby-forum.com/t/importerror-libgnuradio-foo-so-cannot-open-shared-object-file-no-such-file-or-directory/233950>\
**Category:** GNU Radio\
**Created:** [January 24, 2015, 9:05am UTC](https://www.ruby-forum.com/t/importerror-libgnuradio-foo-so-cannot-open-shared-object-file-no-such-file-or-directory/233950 "2015-01-24T09:05:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [January 24, 2015, 9:05am UTC](https://www.ruby-forum.com/t/importerror-libgnuradio-foo-so-cannot-open-shared-object-file-no-such-file-or-directory/233950/1 "2015-01-24T09:05:55Z")

</div>

Hello G.s

I am trying to implement 802.15.4. I had taken the files from this  
website [GitHub - bastibl/gr-ieee802-15-4: IEEE 802.15.4 ZigBee Transceiver](https://github.com/bastibl/gr-ieee802-15-4).

My error was ImportError: libgnuradio-foo.so: cannot open shared object  
file: No such file or directory

I had tried sudo ldconfig too but I am receiving the same error.

I am completely new for GNU radio. So, I think you guys could help me to  
solve the problem.

Eagerly waiting for your replies

FOR MORE DETAILS:

I am using Ubuntu 14.04 and installed all the libraries required for GNU  
and successfully tested some examples using USRP.

My output was:

File “/home/krishna/.grc\_gnuradio/ieee802\_15\_4\_phy.py”, line 15, in  
  
import foo  
File “/usr/local/lib/python2.7/dist-packages/foo/ **init**.py”, line  
45, in   
from foo\_swig import \*  
File “/usr/local/lib/python2.7/dist-packages/foo/foo\_swig.py”, line  
28, in   
\_foo\_swig = swig\_import\_helper()  
File “/usr/local/lib/python2.7/dist-packages/foo/foo\_swig.py”, line  
24, in swig\_import\_helper  
\_mod = imp.load\_module(‘\_foo\_swig’, fp, pathname, description)  
ImportError: libgnuradio-foo.so: cannot open shared object file: No such  
file or directory
