[Pkg-postgresql-public] Bug#723503: Bug#723503: postgresql-9.3 link with -L/usr/lib

Peter Eisentraut petere at debian.org
Wed Nov 6 11:49:25 UTC 2013

On Tue, 2013-09-17 at 18:52 +0800, YunQiang Su wrote:
> This package has one or more -L/usr/lib in its build system,
> which will make it ftbfs if there is libraries under /usr/lib,
> while is not the default architecture, mips* for example.

The occurrence of -L/usr/lib that is making your build fail is the
directory where to find the Python library, which is obtained by

python -c "import distutils.sysconfig; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LIBDIR'))))"

I don't know how this is supposed to work when you have libraries for
multiple architectures on the system but only one python binary.

More information about the Pkg-postgresql-public mailing list