PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
When GNU Radio 3.8 is installed from the package manager in Ubuntu 18.04, GR_LIBRARY_DIR is set to lib/x86_64-linux-gnu by GnuradioConfig.cmake. Subsequently, when an OOT module is built from source and installed into a prefix, the .so file for the module is dutifully installed into /lib/x86_64-linux-gnu. However, setup_env.sh as generated by PyBOMBS does not add this directory to LD_LIBRARY_PATH and thus the library can't be found and import of the swig part of the OOT module fails.
I'm on the following versions of things:
Ubuntu 18.04 Bionic
gnuradio-dev: 3.8.0.0\~gnuradio~bionic-8
PyBOMBS: commit 22e7f23b (head of master as of today)
This seems similar to https://github.com/gnuradio/gnuradio/issues/2856 which I encountered as well. Not sure if this is something that needs to be fixed in CMake or if the best approach is to add additional directories in setup_env.sh.
Happy to help with a more concrete reproduction scenario if desired.
Maybe that is the proxychains bug. I met the same problem when installed pybombs using proxychains and shadowsocks.
REF https://www.jianshu.com/p/a8739782a801
When GNU Radio 3.8 is installed from the package manager in Ubuntu 18.04,/lib/x86_64-linux-gnu. However, setup_env.sh as generated by PyBOMBS does not add this directory to
GR_LIBRARY_DIR
is set tolib/x86_64-linux-gnu
by GnuradioConfig.cmake. Subsequently, when an OOT module is built from source and installed into a prefix, the .so file for the module is dutifully installed intoLD_LIBRARY_PATH
and thus the library can't be found and import of the swig part of the OOT module fails.I'm on the following versions of things:
This seems similar to https://github.com/gnuradio/gnuradio/issues/2856 which I encountered as well. Not sure if this is something that needs to be fixed in CMake or if the best approach is to add additional directories in setup_env.sh.
Happy to help with a more concrete reproduction scenario if desired.