discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Undefined symbol: zmq_strerror in OOT C++ block


From: Johannes Demel
Subject: Re: Undefined symbol: zmq_strerror in OOT C++ block
Date: Thu, 16 Feb 2023 17:50:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

Hi,

the error comes up when you try to `import satmisc_python`. This is the Pybind11 Bindings part of your module.

Fortunately, the bindings exist and are found. Also, the library `libgnuradio-satmisc.so` exists. This is the file where your blocks get compiled into. However, this library is looking for a symbol `zmq_strerror` that it can't find. You probably didn't link your module against ZMQ.
This is probably missing in your module:
https://github.com/gnuradio/gnuradio/blob/78d89e1466864d305fbb8a5b25a7e1e94efc18c4/gr-zeromq/lib/CMakeLists.txt#L31

Cheers
Johannes

On 16.02.23 15:02, Guillermo Lena wrote:
I have ported an OOT block from 3.8 to 3.10 by creating a new module and block with gr_modtool in GNU Radio 3.10 and copying the 3.8 code into de 3.10 corresponding files. I have built it with cmake .. make etc successfully. This blocks involves CSP and ZMQ. When I run a flowgraph where this block is, i get the following error:

Traceback (most recent call last):
  File "/home/gnuradio/persistent-folder/satlab/srs3_radio_lime.py", line 38, in <module>
     from gnuradio import satmisc
  File "/usr/local/lib/python3.10/dist-packages/gnuradio/satmisc/__init__.py", line 18, in <module>
     from .satmisc_python import *
ImportError: /usr/local/lib/x86_64-linux-gnu/libgnuradio-satmisc.so.1.0.0: undefined symbol: zmq_strerror

I do not know exactly where this error comes from and would much apreciate any hints on how to fix this.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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