pothosware / SoapySDR

Vendor and platform neutral SDR support library.
https://github.com/pothosware/SoapySDR/wiki
Boost Software License 1.0
1.09k stars 176 forks source link

Ubuntu 22: Build python3-soapysdr for UHD 4.6 #438

Closed junkyardhokie closed 2 months ago

junkyardhokie commented 2 months ago

Is there a way to install python3-soapysdr without also installing the dependency libuhd4.1.0 on Ubuntu 22 using the package manager? I am using libuhd4.6.0 and lib4.1.0 causes compatibility with USRP devices. If there is not a way to do it with the package manager, is there a way to build from source such that python3-soapysdr uses the system version of libuhd? I am already building SoapySDR, SoapyUHD, and UHD from source.

zuckschwerdt commented 2 months ago

For https://packages.ubuntu.com/jammy/python3-soapysdr only https://packages.ubuntu.com/jammy/libsoapysdr0.8 is a hard dependency. The soapysdr0.8-module-all can be unselected with apt-get install --no-install-recommends --no-install-suggests python3-soapysdr

junkyardhokie commented 2 months ago

Thanks!