git-artes / gr-tempest

An implementation of TEMPEST en GNU Radio
https://iie.fing.edu.uy/investigacion/grupos/artes/es/proyectos/espionaje-por-emisiones-electromagneticas/
555 stars 66 forks source link

Error executing example flowgraphs - libgnuradio-tempest.so.1.0.0:cannot open shared object file #28

Open Hammie5150 opened 2 months ago

Hammie5150 commented 2 months ago

I have installed and compiled gr-tempest without errors. When I try to run any of the example flowgraphs, I get:

File "/usr/local/lib/python3.10/dist-packages/gnuradio/tempest/init.py", line 18, in from .tempest_python import * ImportError: libgnuradio-tempest.so.1.0.0: cannot open shared object file: No such file or directory

I cannot find any reference to this error or this library. Stock GNU flowgraphs run without issue. Any help is appreciated.

git-artes commented 2 months ago

Hi. You probably forgot to execute $ sudo ldconfig in your terminal.

Hammie5150 commented 2 months ago

Thanks for the reply. That command did not resolve the issue.

git-artes commented 2 months ago

Mmmm... Other questions: Is libgnuradio-tempest.so.1.0.0 anywhere on your system? Did you "$sudo make install"?

Hammie5150 commented 2 months ago

Yes, libgnuradio-tempest.so.1.0.0 is on the system under /etc/lib/. Yes, I did the make install after the build per the build/installation instructions.

git-artes commented 2 months ago

That's not the typical place for the shared libraries to be located at, maybe that's the problem. In my system it is located at /usr/local/lib/x86_64-linux-gnu/.

Maybe you could edit /etc/ld.so.conf so that it includes /etc/lib/?