Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2017 19:25:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222539] science/py-scikit, science/py-scipy, math/py-mathplotlib needs LD_LIBRARY_PATH
Message-ID:  <bug-222539-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222539

            Bug ID: 222539
           Summary: science/py-scikit, science/py-scipy,
                    math/py-mathplotlib needs LD_LIBRARY_PATH
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: w.schwarzenfeld@utanet.at

All three ports stops with the same error:

running build_ext
building 'matplotlib.ft2font' extension
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 277, in <module>
    **extra_args
  File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_comma=
nds
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_comma=
nd
    cmd_obj.run()
  File "/usr/local/lib/python2.7/distutils/command/build.py", line 127, in =
run
    self.run_command(cmd_name)
  File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_comma=
nd
    cmd_obj.run()
  File
"/usr/local/lib/python2.7/site-packages/setuptools/command/build_ext.py", l=
ine
75, in run
    _build_ext.run(self)
  File "/usr/local/lib/python2.7/distutils/command/build_ext.py", line 340,=
 in
run
    self.build_extensions()
  File "/usr/local/lib/python2.7/distutils/command/build_ext.py", line 449,=
 in
build_extensions
    self.build_extension(ext)
  File
"/usr/local/lib/python2.7/site-packages/setuptools/command/build_ext.py", l=
ine
196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/local/lib/python2.7/distutils/command/build_ext.py", line 496,=
 in
build_extension
    include_dirs=3Dext.include_dirs,
  File "setupext.py", line 793, in __get__
    result =3D obj._hooks[self._name]() + result
  File "setupext.py", line 819, in include_dirs_hook
    import numpy
  File "/usr/local/lib/python2.7/site-packages/numpy/__init__.py", line 142=
, 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", li=
ne
11, in <module>
    import numpy.core.numeric as _nx
  File "/usr/local/lib/python2.7/site-packages/numpy/core/__init__.py", line
26, in <module>
    raise ImportError(msg)
ImportError:=20
Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control).  Otherwise reinstall numpy.

Original error was: /lib/libgcc_s.so.1: version GCC_4.6.0 required by
/usr/local/lib/gcc6/libgfortran.so.3 not found

*** Error code 1



Could bei solved with:
LD_LIBRARY_PATH=3D"/usr/local/lib/gcc6"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222539-13>