Why do I receive a PKIX error when installing the RTL-SDR Support Package?

5 次查看(过去 30 天)
I have a MATLAB R2016a installed on my Mac running macOS 10.11.4. When I try to install the RTL-SDR Support Package, why do I encounter this error in the Support Package Installer window:
ERROR: Download Failed: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-5-19
The Java version that MATLAB uses does not recognize the SSL Certificate Authority for the https://www.freedesktop.org/wiki/Software/pkg-config/  website as a legitimate Certificate Authority.
However, the pkg-config source code can still be downloaded using a web browser (e.g. Safari). The following workaround will let you download and install the RTL-SDR Support Package successfully.
For
MATLAB R2016a
, follow these steps:
  1. Go through all steps for installing the RTL-SDR Support Package until getting the error message mentioned.
  2. In Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download, a few xml files should now appear.
  3. Find the file whose name starts with pkgconfig_version_maci64.xml. The file to be downloaded is specified between xml tags "downloadUrl" ... "/downloadUrl" in the xml file.
  4. Download pkg-config manually using a web browser from https://www.freedesktop.org/wiki/Software/pkg-config/ .
  5. Save the .gz file in Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download.
  6. Redo step 1.
For MATLAB R2016b, follow these steps:
  1. Go through all steps for installing the RTL-SDR Support Package until getting the error message mentioned.
  2. In Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download, a few xml files should now appear.
  3. Find the file whose name starts with pkgconfig_version_maci64.xml. The file to be downloaded is specified between xml tags "downloadUrl" ... "/downloadUrl" in the xml file.
  4. Download pkg-config manually using a web browser from http://downloads.sourceforge.net/project/pkgconfiglite/0.28-1/pkg-config-lite-0.28-1.tar.gz.
  5. Save the .gz file in Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download.
  6. Redo step 1.
These steps should resolve the issue.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

产品


版本

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by