<div dir="ltr">I get this error while building firmware with the apparmor recipe <div><br></div><div><div>checking python extra libraries...  -lpthread -ldl  -lutil</div><div>| checking python extra linking flags... -Xlinker -export-dynamic</div><div>| checking consistency of all components of python development environment... no</div><div>| configure: error:</div><div>|   Could not link test program to Python. Maybe the main Python library has been</div><div>|   installed in some non-standard library path. If so, pass it to configure,</div><div>|   via the LDFLAGS environment variable.</div><div>|   Example: ./configure LDFLAGS=&quot;-L/usr/non-standard-path/python/lib&quot;</div><div>|   ============================================================================</div><div>|    ERROR!</div><div>|    You probably have to install the development version of the Python package</div><div>|    for your distribution.  The exact name of this package varies among them.</div><div>|   ============================================================================</div></div><div><br></div><div>I researched a bit about the error and tried to set the libraries using the LDFLAGS variable but I&#39;m unable to resolve it. Do I need to install any additional python-package before the apparmor build ?</div></div>