On Jul 17, 2006, at 8:49 PM, [EMAIL PROTECTED] wrote: > Howdy folks -- > > It appears that the psycopg2 package at pythonmac.org/packages > doesn't work on (my) MacIntel: > > [EMAIL PROTECTED]:~$ python > Python > 2.4.3 (#1, Apr 7 2006, 10:54:33) > [GCC 4.0.1 (Apple Computer, Inc. build > 5250)] on darwin > Type "help", "copyright", "credits" or "license" for > more information. >>>> import psycopg2 > Traceback (most recent call > last): > File "<stdin>", line 1, in ? > File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ > python2.4/site-packages/psycopg2/__init__.py", > line 60, in ? > from _psycopg import BINARY, NUMBER, STRING, DATETIME, > ROWID > ImportError: Failure linking new module: /Library/Frameworks/ > Python.framework/Versions/2.4/lib/python2.4/site-packages/psycopg2/ > _psycopg.so: > Symbol not found: _krb5_free_principal > Referenced from: /Library/Frameworks/Python.framework/ > Versions/2.4/lib/python2.4/site-packages/psycopg2/_psycopg.so > > Expected in: dynamic lookup > > The universal packages page on the wiki > makes it seem as if I should expect this package not to work, but > I'm not > sure if that's up-to-date. > > Am I doing something wrong, or is this breakage > expected?
That's weird, I thought that was the package I was using, but it's not. I'll upload another one. > Also: if someone can point me towards what's been done on psycopg2 > so far I'd happily spend some time hacking on building it from > source. I've > given it about 10 minutes and not gotten anywhere, but as long as > I'm not > duplicating effort I'll keep poking. http://initd.org/svn/psycopg/psycopg2/tags/2_0_BETA_8 Index: setup.py =================================================================== --- setup.py (revision 789) +++ setup.py (working copy) @@ -134,6 +134,7 @@ def finalize_darwin(self): """Finalize build system configuration on darwin platform.""" + self.libraries.append('krb5') self.libraries.append('ssl') self.libraries.append('crypto') -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig