[Python-modules-team] Bug#527707: python-numpy: FTBFS: _configtest.c:5: undefined reference to `exp'

Cyril Brulebois kibi at debian.org
Fri Jul 3 09:35:18 UTC 2009

severity 527707 important
retitle  527707 python-numpy: Error during build: _configtest.c:5: undefined reference to `exp'

Lucas Nussbaum <lucas at lucas-nussbaum.net> (08/05/2009):
> Justification: FTBFS on amd64

Yes, but not because of the following:
> Relevant part:
> > gcc -pthread _configtest.o -o _configtest
> > _configtest.o: In function `main':
> > /build/user-python-numpy_1.2.1-1-amd64-f6BuY2/python-numpy-1.2.1/_configtest.c:5: undefined reference to `exp'
> > collect2: ld returned 1 exit status

The real cause of the FTBFS is #521525, and that bug doesn't make the
package FTBFS. Keeping it as important bug, though, because errors
during buildings aren't a good idea.

The fix is pretty trivial, I'd guess, like adding -lm to the command
line. I didn't fix it in my NMU though, since that was already happening
in the previous (successful) builds.


More information about the Python-modules-team mailing list