While installing libredwg on Ubuntu 16.04 I am getting this error.
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
I tried ./configure LDFLAGS="-L/usr/lib/python2.7/" but it gave same error message.
and config.log file.