#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 | -----------------------------+----------------------------- Comment (by andy.nowacki@…): Replying to [comment:1 ryandesign@…]:
If you're trying to activate the gcc46 variant, the correct syntax is `sudo port install py27-obspy +gcc46`
That would be a typo--thanks for spotting it in case it threw anyone else off.
MacPorts intentionally ignores your shell environment so that it will not adversely affect a build. You should not set LIBRARY_PATH nor should you list it in extra_env.
As I mentioned, this was just a dirty hack attempt--if I knew how to add linker options to setup.py in a MacPorts build in a portable and general way, you'd have a patch for the portfile and patch file by now! I'll leave it to Peter to work his magic then, I guess. -- Ticket URL: <https://trac.macports.org/ticket/41122#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X