Problem

Failed building wheel for xmlsec REASON: error: use of undeclared identifier 'xmlSecSoap11Ns'

This problem has only being identified in MacOS


Solution

Optional: If for some reason the solution below is not working try executing brew unlink libxmlsec1, and then continue with the steps

  1. brew edit libxmlsec1. An editor opens up, full of the contents of the latest downloaded xmlsec formula from GitHub or wherever they come from
  2. Replace with the contents of the libxmlsec1 version 1.2.37 brew formula and hit save
  3. Install that local formula: brew install /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/libxmlsec1.rb
  4. Retry the installation