Created attachment 158354 [details] devel/py-tables: Add USES=fortran to link extensions with gcc rpath Upon import tables, the following ImportError exception is raised. ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found The root cause is that utilsextension.so is linked without -Wl,-rpath=${_GCC_RUNTIME} (/usr/local/lib/gcc48, in this case) combined with the dependency on numpy. For full analysis see: https://lists.freebsd.org/pipermail/freebsd-python/2015-June/008420.html A possible fix for this bug is available in the attached patch, which effectively performs USES+=fortran, thereby invoking ports machinery that sets the necessary linker flags.
A commit references this bug: Author: wen Date: Sun Jul 5 08:27:04 UTC 2015 New revision: 391350 URL: https://svnweb.freebsd.org/changeset/ports/391350 Log: - Update to 3.2.0 - Fix run error by add USES=fortran [1] - Strip shared library PR: 201348 [1] Submitted by: john@saltant.com [1] Changes: head/devel/py-tables/Makefile head/devel/py-tables/distinfo head/devel/py-tables/files/patch-setup.py
(In reply to John W. O'Brien from comment #0) Thank you ! wen