When building from source, you can work around this by configuring like this:
$ ./configure PYTHON_LIB_LOC=/usr/lib/x86_64-linux-gnu
When building from source, you can work around this by configuring like this:
$ ./configure PYTHON_ LIB_LOC= /usr/lib/ x86_64- linux-gnu