bistromath / gr-air-modes

Gnuradio Mode-S/ADS-B radio
This project implements a Mode S receiver for the Gnuradio software-defined radio project. It is designed to receive Mode S transmissions from aircraft and decode them to a human-readable format, including ADS-B information messages such as position and a
GNU General Public License v3.0
438 stars 126 forks source link

ImportError: /usr/local/lib/libair_modes.so.0: undefined symbol: _ZN2gr5block... #89

Closed ddxv closed 7 years ago

ddxv commented 8 years ago

This error occurs after a successful install and an attempt to run modes_rx. I have read a previous and similar error and tried to follow some of it's steps, such as reinstalling GNU Radio. Here is that thread.

Here is the traceback:

Traceback (most recent call last):
  File "/usr/local/bin/modes_rx", line 27, in <module>
    import air_modes
  File "/usr/local/lib/python2.7/dist-packages/air_modes/__init__.py", line 50, in <module>
    from air_modes_swig import *
  File "/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py", line 28, in <module>
    _air_modes_swig = swig_import_helper()
  File "/usr/local/lib/python2.7/dist-packages/air_modes/air_modes_swig.py", line 24, in swig_import_helper
    _mod = imp.load_module('_air_modes_swig', fp, pathname, description)
ImportError: /usr/local/lib/libair_modes.so.0: undefined symbol: _ZN2gr5blockC2ERKSsN5boost10shared_ptrINS_12io_signatureEEES6_

When I check ldconfig:

$ sudo ldconfig -p | grep air_modes
    libair_modes.so.0 (libc6,x86-64) => /usr/local/lib/libair_modes.so.0
    libair_modes.so (libc6,x86-64) => /usr/local/lib/libair_modes.so

Also, this may be of help:

$ nm -D /usr/local/lib/libair_modes.so.0
0000000000212348 B __bss_start
                 U __cxa_allocate_exception
                 U __cxa_atexit
                 U __cxa_begin_catch
                 U __cxa_call_unexpected
                 U __cxa_demangle
                 U __cxa_end_catch
                 w __cxa_finalize
                 U __cxa_free_exception
                 U __cxa_guard_abort
                 U __cxa_guard_acquire
                 U __cxa_guard_release
                 U __cxa_pure_virtual
                 U __cxa_rethrow
                 U __cxa_throw
                 U __dynamic_cast
0000000000212348 D _edata
0000000000212880 B _end
000000000000d2cc T _fini
                 U free
                 w __gmon_start__
                 U __gxx_personality_v0
0000000000005f40 T _init
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 w _Jv_RegisterClasses
                 U memmove
                 U powf
                 w __pthread_key_create
                 U __stack_chk_fail
                 U strcmp
                 U strlen
                 U _Unwind_Resume
                 U _ZdlPv
                 U _ZN2gr10sync_block12general_workEiRSt6vectorIiSaIiEERS1_IPKvSaIS6_EERS1_IPvSaISA_EE
                 U _ZN2gr10sync_block28fixed_rate_ninput_to_noutputEi
                 U _ZN2gr10sync_block28fixed_rate_noutput_to_ninputEi
                 U _ZN2gr10sync_block8forecastEiRSt6vectorIiSaIiEE
                 U _ZN2gr10sync_blockC2ERKSsN5boost10shared_ptrINS_12io_signatureEEES6_

(File Continues)

About my machine: I have Ubuntu 16.04.1 LTS. I have upgraded all requirements in the readme to the newest version.

Thank you for your time and effort. Feel free to ask any questions.