<raj.indian.0 8 <atgmail.comwri tes:
I don't think the lpq library comes (in the correct format) with the latest
versions of PostgreSQL hence I had the same problem which I never resolved.
You can get windows binaries from
http://www.stickpeople.com/projects/python/win-psycopg/ though.
HTH,
Dave
I am trying to install psycopg2 in my windows machine for
connecting with the PostgreSQL server.
Since there is no binary executable*, I am trying to build my own
- and I am facing this issue.
>
C:\MinGW\bin\.. \lib\gcc\mingw3 2\3.4.5\..\..\. .\..\mingw32\bi n\ld.exe:
cannot find -lpq
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
>
After a little bit of googling, I found that this can be solved
by -L<directory namewhile linking - but I am not specifically
linking the code. Rather, I am installing by doing the following -
connecting with the PostgreSQL server.
Since there is no binary executable*, I am trying to build my own
- and I am facing this issue.
>
C:\MinGW\bin\.. \lib\gcc\mingw3 2\3.4.5\..\..\. .\..\mingw32\bi n\ld.exe:
cannot find -lpq
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
>
After a little bit of googling, I found that this can be solved
by -L<directory namewhile linking - but I am not specifically
linking the code. Rather, I am installing by doing the following -
versions of PostgreSQL hence I had the same problem which I never resolved.
You can get windows binaries from
http://www.stickpeople.com/projects/python/win-psycopg/ though.
HTH,
Dave
Comment