[Wheel-builders] Error from numpy wheel - any thoughts

Ian Henriksen insertinterestingnamehere at gmail.com
Mon Mar 28 18:58:51 EDT 2016


On Mon, Mar 28, 2016 at 4:39 PM Matthew Brett <matthew.brett at gmail.com>
wrote:

> On Mon, Mar 28, 2016 at 3:33 PM, Nathaniel Smith <njs at pobox.com> wrote:
> > On Mar 28, 2016 15:18, "Matthew Brett" <matthew.brett at gmail.com> wrote:
> > [...]
> >> And:
> >>
> >> $ python -c 'import _test_ext_module_5403'  # No error
> >> $ python -c 'import numpy; import _test_ext_module_5403'  # Error
> >> after importing numpy
> >> Traceback (most recent call last):
> >>   File "<string>", line 1, in <module>
> >> ImportError:
> >>
> /home/mb312/dev_trees/2fd9d9a29e022c297634/manylinux-test/lib/python2.7/site-packages/numpy/core/../.libs/libgfortran.so.3:
> >> version `GFORTRAN_1.4' not found (required by
> >> ./_test_ext_module_5403.so)
> >
> > Can you rerun this with LD_DEBUG=all and put the full output somewhere,
> like
> > a gist or attachment or something?
>
> Bit big for a gist : does this work?
> https://www.dropbox.com/s/7cdnl3zb4dr5i90/ld_debug.log.gz?dl=0
>
> Matthew
> _______________________________________________
> Wheel-builders mailing list
> Wheel-builders at python.org
> https://mail.python.org/mailman/listinfo/wheel-builders


Just a guess on what's going on here, but if you're using the system
gfortran
available on CentOS 5, it's going to be linking against a different
libgfortran ABI
version. The shared object version specifiers make it so that the older
ligfortran
shows up as "not found" rather than just having the dynamic linker find the
copies
of libgfortran with the newer ABI on newer systems.
Best,
-Ian Henriksen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/wheel-builders/attachments/20160328/76ad548e/attachment.html>


More information about the Wheel-builders mailing list