Resolved it
Since my gr-osmosdr dependent on gr-iqbal, but I forgot rebuild it. Need rebuild gr-iqbal to let its lib also link against to v3.7.5
在 2014年09月08日 22:56, Tiankun Hu 写道:
Hi All,
I have updated gnuradio to 3.7.5 recently, and then reconfig&rebuild
gr-osmosdr to link its lib against to v3.7.5's gnuradio-runtime.so.
But when I import osmosdr, I got below error

ImportError: libgnuradio-runtime-3.7.4.so.0.0.0: cannot open shared
object file: No such file or directory

And then I run "ldd lib/libgnuradio-osmosdr-0.1.4git.so.0.0.0", I found
an interesting thing, this lib link to both v3.7.5 and v3.7.4

hutiantian@build-server:~/workspace/gr-osmosdr/build$ ldd
lib/libgnuradio-osmosdr-0.1.4git.so.0.0.0

     ......
     libgnuradio-runtime-3.7.5.so.0.0.0 =>
/usr/local/lib/libgnuradio-runtime-3.7.5.so.0.0.0
(0x00007f54e66b1000)<-----It found v3.7.5
     libgnuradio-runtime-3.7.4.so.0.0.0 => not found<------but It also
link against to v3.7.4
     libgnuradio-pmt-3.7.4.so.0.0.0 => not found
     ......

I have already deleted all v3.7.4's lib in my "/usr/local", and after
run "grep -r -a "3.7.4" in "gr-osmosdr/build", I didn't find any string
about 3.7.4
I also run "ldconfig" after rebuild.
I have checked other OOT modules like gr-dvbt, they didn't have this issue.
Anyone can give me some clues about this issue?




--
Thanks
Tiankun



_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to