[p4python] Building P4Python on Mac OS X 10.5.5 (Intel)

Gabor Maghera gmaghera at gmail.com
Sat Nov 29 11:13:57 PST 2008

I am having trouble building P4Python on Mac OS X 10.5.5, Intel.  Before
posting here I've searched the archives and found some similar but dated
issues - they seem to address a slightly different symptom.  Tried the
solutions suggested within, but they did not work for me.

These are the packages I am using:

I've configured setup.cfg to point to the C++ API directory.  Running
"python setup.py build" yields some warnings but no errors (see attached
log).  Upon running the recommended test, "python p4test.py", I get the
following error:

Traceback (most recent call last):
  File "p4test.py", line 6, in <module>
    import P4
  File "build/lib.macosx-10.5-i386-2.5/P4.py", line 209, in <module>
    import P4API
ImportError: dlopen(build/lib.macosx-10.5-i386-2.5/P4API.so, 2): Symbol not
found: __ZN10ClientUser10ErrorPauseEPcP5Error
  Referenced from:
  Expected in: dynamic lookup

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20081129/1cf7c2c6/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p4python_build_log.txt
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20081129/1cf7c2c6/attachment-0001.txt>

More information about the p4python mailing list