RTL-SDR Support package installer failure on mac

13 views (last 30 days)
I have a ML R2016a installed on my mac with the OS version 10.11.4. When I want to install CST SPKG for RTL-SDR (Communication System Toolbox Support Package for RTL-SDR), I encounter this error in the Support Package Installer window. Here is the error log:
Download Failed: sun.security.validator.ValidatorException: PKIS path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Please let me know why this error occurs while it did not happen before, and how I can resolve this stopping-work issue.
  2 Comments
Amir Tadayon
Amir Tadayon on 20 May 2016
Surprisingly, this error happens only when I want to install the support package for RTL-SDR. For example, I'm able to install SPKG for Arduino from internet.
Daniel OMalley
Daniel OMalley on 27 May 2016
This appears to be a problem with the certificate of one of the dependencies, probably from the freedesktop.org site. I have the same problem.

Sign in to comment.

Answers (1)

Amir Tadayon
Amir Tadayon on 31 May 2016
Edited: Amir Tadayon on 31 May 2016
I found the problem. The JAVA version that MATLAB uses does not recognize the SSL certificate authority (CA) for the https://pkg-config.freedesktop.org website as a legitimate CA. However, I can download the pkg-config source code using a web browser (e.g. Safari). The following workaround let's me download and install the RTL-SDR support package successfully.
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 have been downloaded.
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://pkg-config.freedesktop.org/releases/pkg-config-0.28.tar.gz.
5. Save .gz file in Documents/MATLAB/SupportPackages/R201xx/downloads/rtlsdrradio_download.
6. Redo step 1.
These steps should resolve the issue.
HTH

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!