[MacPorts] #41122: py-obspy obspy.taup.taup ImportError: libtaup not linked to libgfortran.a
MacPorts
noreply at macports.org
Fri Nov 1 12:39:13 PDT 2013
#41122: py-obspy obspy.taup.taup ImportError: libtaup not linked to libgfortran.a
-----------------------------+-----------------------------
Reporter: andy.nowacki@… | Owner: Peter.Danecek@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: py-obspy |
-----------------------------+-----------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => Peter.Danecek@…
* cc: peter.danecek@… (removed)
Comment:
Replying to [ticket:41122 andy.nowacki@…]:
> {{{
> $ sudo port install py27-obspy @gcc46
> }}}
If you're trying to activate the gcc46 variant, the correct syntax is
`sudo port install py27-obspy +gcc46`
> 1. {{{$ sudo LIBRARY_PATH=/opt/local/lib/gcc46 install py27-obspy
+gcc46}}}
>
> The rationale is that {{{setup.py}}} searches {{{LIBRARY_PATH}}} for
directories to add in the final link stage. However, I could never get
this to be picked up.
MacPorts intentionally ignores your shell environment so that it will not
adversely affect a build.
> 3. Adding {{{extra_env LIBRARY_PATH}}} to
{{{$prefix/etc/macports/macports.conf}}}.
You should not set LIBRARY_PATH nor should you list it in extra_env.
--
Ticket URL: <https://trac.macports.org/ticket/41122#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list