https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201348
Bug ID: 201348
Summary: devel/py-tables: libgcc_s.so.1 raises ImportError on
libgfortran.so.3 not found due to missing rpath
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
Created attachment 158354
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158354&action=edit
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "[email protected]"