maintainer-feedback requested: [Bug 205294] [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py - gcc48/libgfortran.so.3 not found
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 13 17:37:46 UTC 2015
Andrey Fesenko <andrey at bsdnir.info> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python
<python at FreeBSD.org>:
Bug 205294: [PATCH] x11-toolkits/py-wxPython30: Fail embedding_in_wx5.py -
gcc48/libgfortran.so.3 not found
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205294
--- Description ---
Created attachment 164197
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164197&action=edit
patch-Makefile
environment for reproduction:
% python -c "import matplotlib as m;
print(m.__version__);print(m.__path__[0]);"
1.4.3
/usr/local/lib/python2.7/site-packages/matplotlib
% python -c "import numpy as m; print(m.__version__); print(m.__path__[0]);"
1.10.1
/usr/local/lib/python2.7/site-packages/numpy
% python -c "import wx as m; print(m.__version__); print(m.__path__[0]);"
3.0.2.0
/usr/local/lib/python2.7/site-packages/wx-3.0-gtk2/wx
% python
/usr/local/share/examples/py27-matplotlib/user_interfaces/embedding_in_wx5.py
Traceback (most recent call last):
File
"/usr/local/share/examples/py27-matplotlib/user_interfaces/embedding_in_wx5.py"
,
line 7, in <module>
import matplotlib as mpl
File "/usr/local/lib/python2.7/site-packages/matplotlib/__init__.py", line
180, in <module>
from matplotlib.cbook import is_string_like
File "/usr/local/lib/python2.7/site-packages/matplotlib/cbook.py", line 33,
in <module>
import numpy as np
File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 180, in
<module>
from . import add_newdocs
File "/usr/local/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13,
in <module>
from numpy.lib import add_newdoc
File "/usr/local/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8,
in <module>
from .type_check import *
File "/usr/local/lib/python2.7/site-packages/numpy/lib/type_check.py", line
11, in <module>
import numpy.core.numeric as _nx
File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", line
14, in <module>
from . import multiarray
ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
/usr/local/lib/gcc48/libgfortran.so.3 not found
user_interfaces/embedding_in_wx2-4.py - work fine
This fixed add
/etc/libmap.conf
[/usr/local/lib/python2.7/site-packages/wx-3.0-gtk2/]
libgcc_s.so.1 gcc48/libgcc_s.so.1
or this patch (add fortran build dependency)
More information about the freebsd-python
mailing list