Re: 64 bit PyROOT on Leopard

From: Stanley Seibert <volsung_at_physics.utexas.edu>
Date: Sun, 1 Jun 2008 15:53:01 -0500


Strangely, while the python application is only compiled i386/ppc, the python 2.5 shared library is compiled with all four architectures:

Rover:~ stan$ file /usr/lib/libpython.dylib /usr/lib/libpython.dylib: Mach-O universal binary with 4 architectures /usr/lib/libpython.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc
/usr/lib/libpython.dylib (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64
/usr/lib/libpython.dylib (for architecture i386): Mach-O dynamically linked shared library i386
/usr/lib/libpython.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64

This doesn't solve your problem, but it is rather curious...

On Jun 1, 2008, at 3:21 PM, OKUMURA, Akira wrote:

> Hello Mac ROOTers,
>
> OS X 10.5.3 (Core 2 Duo) + ROOT 5.19.04
>
> I compiled ROOT source with no configure option and tried using ROOT
> from python. But it did not work because of incomplete universal
> binary as discussed below.
>
> http://root.cern.ch/phpBB2/viewtopic.php?t=5709&sid=3b381960902362dfb8248c6754d4892d
>
> according to Fons' post,
> ============
> There is no solution for the time being, until Apple ships python
> with x86_64 (the same is the case with Ruby and perl btw).
> ============
>
> Is there still no solution? The official binary distribution from
> python.org has only i386 and ppc too. I was wondering if there is
> any patch to ROOT makefile which creates fat binary of i386 an x86_64.
>
> Regards,
>
> OKUMURA, Akira oxon_at_ceres.phys.s.u-tokyo.ac.jp
> Department of Physics, The University of Tokyo
> 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033
> TEL/FAX +81 3-5841-4173/4059
> Skype : okumura.akira
Received on Sun Jun 01 2008 - 22:53:16 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 02 2008 - 05:50:04 CEST