building psycopg2 on windows using mingw, "cannot find -lpq"
haraldarminmassa at gmail.com
Tue Jan 22 15:12:40 CET 2008
> > The compile works, BUT linking fails:
> > 2.5\Release\psycopg\_psycopg.def -Lc:\python25\libs -Lc:
> > \python25\PCBuild -Lc:/p
> > ostgres/83RC2/lib -lpython25 -lpq -lws2_32 -ladvapi32 -o build
> > -Lc:/postgres/83RC2/lib
> Are you sure using forward slashes in the path works here?
Not at all. But that commandline is generated by setup.py, not by me :
and setup.py extracts the paths from pg_config
so: I have no idea how to make it use backslash :(
Thanks for the idea,
More information about the Python-list