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

4 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 19 Mai 2021
Bearbeitet: MathWorks Support Team am 19 Mai 2021
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.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by