From: Don R. <dcr...@pa...> - 2002-10-01 05:45:33
|
Greetings, I have looked through the archive but it has truncated the posts, and the attached setup.py is not attached. So apologies if you have seen all this before. I am trying to install on Mac OS 10.2, and have tried the fix suggested: The lib paths were include_dirs = [ "/usr/local/pgsql/include" ] library_dirs = [ "/usr/local/pgsql/lib" ] This line had to be removed from the setup section runtime_library_dirs = pypgsql_rt_dirs, My system seems pretty much the same as described. However, I am still unable to get it to work. When I build, I get a load of errors, and I get : Python 2.2 (#1, 07/14/02, 23:25:09) [GCC Apple cpp-precomp 6.14] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pyPgSQL import PgSQL Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 356, in ? from libpq import * File "/usr/lib/python2.2/site-packages/pyPgSQL/libpq/__init__.py", line 23, in ? from libpq import * ImportError: Failure linking new module >>> My build and install output is at: http://homepages.paradise.net.nz/dcrober1/4suite/pypgsql_build.html Any help would be appreciated. Don |