I am trying to deploy the django app that from the django development
server to the Apache on Leopard. When I try to launch the app from my
browser, I got a "Internal Server Error". I checked the error_log and
here's the error:

[Mon Sep 28 00:43:29 2009] [error] [client 127.0.0.1]
ImproperlyConfigured: Error loading psycopg2 module: dlopen(/Users/
simonlee/django/lib/python2.5/site-packages/psycopg2/_psycopg.so, 2):
no suitable image found.  Did find:
[Mon Sep 28 00:43:29 2009] [error] [client 127.0.0.1] \t/Users/
simonlee/django/lib/python2.5/site-packages/psycopg2/_psycopg.so: no
matching architecture in universal wrapper

I did google search and follow the advise on

http://ronny.haryan.to/archives/2008/09/12/psycopg2-and-64-bit-apache-on-leopard/

After the build as advise on that article, I only get _psycopg.so for
2 architectures: i386 and ppc7400, not x86_64. What can I do to build
x86_64 for psycopg2?

I am using the Apache that comes with Apple (I think it is in 64 bit).
I am also using the python2.5 that comes with Leopard. The PostgreSQL
was downloaded from www.postgresql.org under the Binary Packages for
Mac OSX. Any advise is greatly appreciated. Thanks.

Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to