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 日
編集済み: 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 Center および File ExchangeIntroduction 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