Wind River Support Network


LIN8-8370 : Can't change wpa_supplicant from GnuTLS to OpenSSL.

Created: Dec 18, 2017    Updated: Dec 3, 2018
Resolved Date: Dec 21, 2017
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Networking


I want to change wpa-supplicant package from GnuTLS to OpenSSL.
However, I was not able to change it by the following  steps.

(1) Add the following line at the end of the <Platform Project>_prj/local.conf

    PACKAGECONFIG_pn-wpa-supplicant = "openssl"

(2) Re-build wpa-supplicant and project as the below.

    make wpa-supplicant.distclean
    make wpa-supplicant

(3) Bootup WRLinux

(4) Check the library that be linlled to usr/sbin/wpa_supplicant
   As a result, the gnutls library such as  is linked.
    # ldd /usr/sbin/wpa_supplicant (0x00007ffe8d1b7000) => /lib64/ (0x00007f9decc95000) => /usr/lib64/ (0x00007f9deca77000) => /usr/lib64/ (0x00007f9dec871000) => /usr/lib64/ (0x00007f9dec557000) => /usr/lib64/ (0x00007f9dec278000) => /lib64/ (0x00007f9dec032000) => /lib64/ (0x00007f9debc8e000) => /lib64/ (0x00007f9deba71000) => /lib64/ (0x00007f9deb773000) => /lib64/ (0x00007f9deb55e000) => /usr/lib64/ (0x00007f9deb327000) => /usr/lib64/ (0x00007f9deb0f3000) => /usr/lib64/ (0x00007f9deae7e000) => /usr/lib64/ (0x00007f9deac6c000) => /lib64/ (0x00007f9deaa68000)
    /lib64/ (0x00007f9dece9d000)


To work around the issue, change the following in layers/wrlinux/conf/distro/ 
  - PACKAGECONFIG_pn-wpa-supplicant = "${@base_contains('INCOMPATIBLE_LICENSE', 'GPLv3', 'openssl', 'gnutls', d)}" 
  + PACKAGECONFIG_pn-wpa-supplicant = "openssl" 

Steps to Reproduce

Please see Description.

Other Downloads

Live chat