[Ns-bugs] [Bug 1317] python programs not working for OS X Lion
code at nsnam.ece.gatech.edu
Wed Dec 21 10:06:20 PST 2011
--- Comment #16 from Tommaso Pecorella <tommaso.pecorella at unifi.it> 2011-12-21 13:06:20 EST ---
(In reply to comment #13)
> (In reply to comment #12)
> > "/opt/local/lib" is preferred path over
> > "/System/Library/Frameworks/Python.framework/Versions/2.7/lib".
> > BOOM.
> > Said that, I have no clue about how to fix it, as removing macport's python is
> > kinda a harsh solution, as it's used by a lot of other extremely useful
> > macports modules.
> Well, if in OSX the /opt/local/lib takes precedence over the command-line -L
> path, then I really do not see what can be done. I can add code to try to
> detect this problem, but other than that... *shrugs*
/opt/local/lib is added by LIBXML2 for what I can understand. When the
configure is working, it's adding -L according to LIBXML2 needs. And that is
done before checking for Python.
GSL is in /opt/local/lib as well.
Basically, -L /opt/local/lib is needed, but it should be after the "normal"
python path. Best guessing tho, I don't know how to force it after the
configure to prove it.
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs