install PyGreSQL problem

rdack rdacker at pacbell.net
Mon Sep 10 19:22:19 EDT 2001


doing 'python setup.py build' got to link, then:

cc -bundle -undefined suppress build/temp.darwin-1.3-Power
Macintosh-2.1/pgmodule.o -L/usr/local/pgsql/lib -lpq -o
build/lib.darwin-1.3-Power Macintosh-2.1/_pg.so
/usr/bin/ld: table of contents for archive:
/usr/local/pgsql/lib/libpq.a is out of date; rerun ranlib(1) (can't
load from it)

did it finish?i see pg.py and pgdb.py in the output directory.
is there something wrong with libpq.a? can i fix it?

using PyGreSQL-3.2, postgresql-7.1.3, python2.1, os x, g4.
i wanted to use pypgsql, but i had an error on the link there - setup
was trying to use a -R option which cc didn't recognize. any thoughts
about that?



More information about the Python-list mailing list