My machine was modified at work and my home directory is a new name
now. Part of the process went through and scrubbed my home directory
names in files to point to the new one. Most things (my X310 script)
are working fine as-is, but when I try to run an RTL-SDR script, it
errors out. I can run rtl-test and rtl-fm and things work fine, so
permissions did not get hosed there, but when I try to run a GRC script,
it errors out with:
Executing: /usr/bin/python2 -u /home/jmat/Downloads/testRTL2.py
Traceback (most recent call last):
File "/home/jmat/Downloads/testRTL2.py", line 29, in <module>
import osmosdr
File
"/home/jmat/target/lib/python2.7/dist-packages/osmosdr/__init__.py",
line 26, in <module>
from osmosdr_swig import *
File
"/home/jmat/target/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py",
line 28, in <module>
_osmosdr_swig = swig_import_helper()
File
"/home/jmat/target/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py",
line 24, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
ImportError: libgnuradio-runtime-3.7.9git.so.0.0.0: cannot open shared
object file: No such file or directory
Digging into things, if I run (I am using older pybombs still) "pybombs
verify gr-osmosdr" I get the following error:
jmat@jmat:~/pybombs$ ./pybombs verify gr-osmosdr
Settled on prefix: /home/jmat/target
Initializing environmental variables...
Loading recipes ...
/home/jmat/target
Installing packages:
* gr-iqbal
* bladeRF
* airspy
* gr-osmosdr
Installing from source: gr-iqbal
Building: (100%)
[==========================================================]
Build failed. Re-trying with reduced makewidth and higher verbosity.
make[2]: *** No rule to make target
`/home/jmat/target/lib/libosmodsp.so', needed by
`lib/libgnuradio-iqbalance.so'. Stop.
make[1]: *** [lib/CMakeFiles/gnuradio-iqbalance.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 0%] [ 0%] Built target pygen_apps_9a6dd
Built target iqbalance_swig_swig_doc
[ 15%] Built target pygen_python_e9885
make: *** [all] Error 2
Build failed. See output above for error messages.
I tried blowing away osmosdr and rebuilding, but that doesn't seem to
help. What am I missing here? It objdump on the culprit so, I see:
objdump -x /home/jmat/target/lib/libosmodsp.so.0.0.0
BFD: /home/jmat/target/lib/libosmodsp.so.0.0.0: don't know how to handle
section `' [0x 1b]
BFD: /home/jmat/target/lib/libosmodsp.so.0.0.0: no group info for section
BFD: /home/jmat/target/lib/libosmodsp.so.0.0.0: don't know how to handle
section `' [0x 2e]
objdump: /home/jmat/target/lib/libosmodsp.so.0.0.0: Bad value
So it looks like a corrupted libosmodsp.so.0.0.0, but why can't I
rebuild it???
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio