[Pythonmac-SIG] P4Python, MySQLdb, or Python Extensions
vivacarlie at gmail.com
Tue Oct 9 16:16:38 CEST 2007
.so, if im not mistaken is eather a linux shared library or not a mac shared
library (someone correct me if im wrong) try making sure the python version
you chose is the one for mac. the best supported python for mac is
in a mac installer package) from the python website but another
more linux like one would be the darwinports one or the fink one. Try
On 10/8/07, Lyndsey Ferguson <lyndsey.ferguson at gmail.com> wrote:
> Hello everyone,
> Short time lurker, first time poster.
> I'm trying to install P4Python and MySQLdb, but am running into a host of
> The trouble I've had trying to install these two and the number of similar
> experiences I've read through googling leads me to believe that Python can
> be difficult on the Mac.
> I will talk about P4Python as it seems to be the easier of the two. I'm
> trying to compile the given c++ file to build a Python Extension, but the
> setup.py doesn't work as it should be linking in CoreFoundation, but it is
> ImportError: Failure linking new module:
> Symbol not found: ___CFConstantStringClassReference
> Referenced from:
> Expected in: dynamic lookup
> I tried to use Xcode to build something that can go where the
> site-packages go. But I have no idea what to build. It is not a dynamic
> library, it is not a relocatable object, I get this error when I try to
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "p4.py", line 19, in ?
> import P4Client
> ImportError: Inappropriate file type for dynamic loading
> Has anyone done this? How do I build a Python Extension using Xcode? Or
> perhaps even better, how do I get setup.py to work on the Mac?
> Thanks for any and all tips!
> Lyndsey Ferguson
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
"lalalalala! it's not broken because I can use it"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pythonmac-SIG