discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ImportError


From: Marcus Müller
Subject: Re: ImportError
Date: Mon, 1 Nov 2021 02:17:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

where did you install that .so, and is that directory part of LD_LIBRARY_PATH?

On 01.11.21 02:01, Mario Moran wrote:
> Hello everyone, 
> I am working on the My QPSK demodulator tutorial, I was able to create the 
> block but It is
> not working. Here is the
> link: https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B
> <https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B>
> 
> I have executed a command 'ldd -r lib/*.so'  in hopes it will provide help. 
> The
> importerror mentions that libgnuradio-tutorial.so.1.0.0git cannot open shared 
> object: no
> such file or directory and looking through this output I do not see it. So do 
> I need to
> somehow add it?  
> Here is the output: 
> linux-vdso.so.1 (0x00007ffedcf8d000)
> libgnuradio-runtime.so.3.8.3 => 
> /lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.8.3
> (0x00007fb4a6bd4000)
> libgnuradio-pmt.so.3.8.3 => /lib/x86_64-linux-gnu/libgnuradio-pmt.so.3.8.3
> (0x00007fb4a6b68000)
> liblog4cpp.so.5 => /lib/x86_64-linux-gnu/liblog4cpp.so.5 (0x00007fb4a6b24000)
> libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb4a6942000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb4a6927000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb4a6735000)
> libvolk.so.2.2 => /lib/x86_64-linux-gnu/libvolk.so.2.2 (0x00007fb4a6444000)
> libboost_program_options.so.1.71.0 =>
> /lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0 (0x00007fb4a63b5000)
> libboost_filesystem.so.1.71.0 => 
> /lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0
> (0x00007fb4a6397000)
> libboost_thread.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_thread.so.1.71.0
> (0x00007fb4a636b000)
> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb4a6360000)
> libthrift-0.13.0.so <http://libthrift-0.13.0.so/> =>
> /lib/x86_64-linux-gnu/libthrift-0.13.0.so <http://libthrift-0.13.0.so/
> (0x00007fb4a62a9000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb4a6284000)
> libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fb4a6200000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb4a60b1000)
> /lib64/ld-linux-x86-64.so.2 (0x00007fb4a6da9000)
> liborc-0.4.so.0 => /lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007fb4a602e000)
> libssl.so.1.1 => /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007fb4a5f9b000)
> libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 
> (0x00007fb4a5cc3000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb4a5cbd000)
> 
> This is the error I got when I run Gnuradio companion. 
> Traceback (most recent call last):
>   File "/home/mariom/gr-tutorial/build/top_block.py", line 37, in <module>
>     import tutorial
>   File 
> "/home/mariom/prefix-3.8/lib/python3/dist-packages/tutorial/__init__.py", 
> line 38,
> in <module>
>     from .tutorial_swig import *
>   File 
> "/home/mariom/prefix-3.8/lib/python3/dist-packages/tutorial/tutorial_swig.py",
>  line
> 13, in <module>
>     from . import _tutorial_swig
> ImportError: libgnuradio-tutorial.so.1.0.0git: cannot open shared object 
> file: No such
> file or directory
> 
> The Gnuradio Companion I am running is Gnu Radio Companion 3.8.4.0 and I 
> installed it
> using Pybombs. I'm not sure where to go next. I tried sudo ldconfig, sudo 
> make install,
> and others but I haven't gotten it to work.  Any thoughts on what to do next? 
> Thank you so
> much for this help. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]