[yt-users] xspec with yt python

Matthew Turk matthewturk at gmail.com
Fri Aug 24 13:50:56 PDT 2012


Hi Eric,

Looks like this is known for non-framework builds of Python on OSX.
(We don't build it Framework-wise because it caused a bunch of
problems in the past and mainly only allowed usage of a few native
widgets.)  Here is a patch you can apply and then rebuild Python with
to (possibly) get it to work:

http://bugs.python.org/issue1602133

-Matt

On Fri, Aug 24, 2012 at 4:46 PM, Eric Hallman <hallman13 at gmail.com> wrote:
> Hello,
>   I know this is not a yt specific issue, however it involves an interaction
> of the yt installed python and XSPEC.  Maybe some of you on this list have
> done an XSPEC install on Mac OS X (Lion in this case) and run into this.  At
> link time during the build of XSPEC, it gives the following error:
>
> Undefined symbols for architecture x86_64:
>   "_environ", referenced from:
>       _initposix in libpython2.7.a(posixmodule.o)
> ld: symbol(s) not found for architecture x86_64
>
> Originally on my Mac, XSPEC tried to build 32-bit, and failed with python
> linkages (since python is 64 bit in the yt install build).  Once I went to
> 64-bit, this was the only remaining error.  Does anyone have ideas?
>
> Thanks!
>
> Eric Hallman
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list