[Numpy-discussion] f2py problem with multiple fortran source files

石头 dasssj at 126.com
Sat Jun 13 23:27:06 EDT 2015

Dear Pearu Peterson,
Thank you for your reply!
I did as you said, and I got the module mulib.so successfully, but I got another problem when I try to import this module in Python.
Here are the messeage I got in Python:

Enthought Canopy Python 2.7.6 | 64-bit | (default, Sep 15 2014, 17:36:10) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mylib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /home/ssj/Enthought/Canopy_64bit/User/bin/../lib/libgfortran.so.3: version `GFORTRAN_1.4' not found (required by ./mylib.so)

The version of gfortran I use is 4.9.2, and I'm using Debian 8 "Jessie". How can I fix this problem?
Thanks again for your reply!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150614/d106b140/attachment.html>

More information about the NumPy-Discussion mailing list