Jump to content

airprobe: ImportError: No module named osmosdr


bass

Recommended Posts

Hi,

I just tried install airprobe in my ubuntu. following tutorial from http://www.rtl-sdr.com/rtl-sdr-tutorial-analyzing-gsm-with-airprobe-and-wireshark/

I have install gnuradio by build script, even until :

./go.sh capture_941.8M_112.cfile

everything seems okey..

but when I moved to next step, I got:

tes@tes-H67M-D2-B3:~/Downloads/airprobe/gsm-receiver/src/python$ ./gsm_receive_rtl.py -s 1e6

Traceback (most recent call last):
File "./gsm_receive_rtl.py", line 22, in <module>
import osmosdr
ImportError: No module named osmosdr


has anyone another idea where the problem might be?



Thanks in advance!

Bass
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Can someone please help me with this error :

airprobe/gsm-receiver/src/python# ./go.sh
Traceback (most recent call last):
File "./gsm_receive.py", line 12, in <module>
import gsm
File "../lib/gsm.py", line 26, in <module>
_gsm = swig_import_helper()
File "../lib/gsm.py", line 18, in swig_import_helper
import _gsm
ImportError: ../lib/.libs/_gsm.so: undefined symbol: _ZTI8gr_block

Link to comment
Share on other sites

I googled "_gsm.so: undefined symbol: _ZTI8gr_block" and the first hit was this page:

http://www.rtl-sdr.com/rtl-sdr-tutorial-analyzing-gsm-with-airprobe-and-wireshark/

Where it turns out other people were having that same issue and were using the comments page to ask about it. The consensus appears to be that your copy of the Airprobe is out of date. Are you sure yours isn't?

Long story short, your program uses a library called gsm.so and it should be exporting a function or something but in your case the expected thing isn't found. So it's a problem you're having matching the program that uses the library against the library itself.

Link to comment
Share on other sites

Damn!

Based on your comment, I went on a mini hunt to check what version was i using and fortunately i stumbled across this "libpcap0.8-dev" .

it seems that this was still outdated.

Followed all steps (most of 'em) like :

autoreconf –i./configuremakesudo make installsudo ldconfig

in the libosomocore directory and

./bootstrap./configuremake

in the gsm-receiver directory to get it started.

Thanks man !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...