Hello everybody,
I am trying to compile psqlpsql.dll and i get following error:
D:\Apps\MINGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: canno
t find -lpq
collect2: ld returned 1 exit status
mingw32-make[1]: *** [d:\Apps\Qt\4.2.3\plugins\sqldrivers\qsqlpsql.dll] Error 1
mingw32-make[1]: Leaving directory `D:/apps/Qt/4.2.3/src/plugins/sqldrivers/psql
'
mingw32-make: *** [release] Error 2
D:\Apps\MINGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: canno
t find -lpq
collect2: ld returned 1 exit status
mingw32-make[1]: *** [d:\Apps\Qt\4.2.3\plugins\sqldrivers\qsqlpsql.dll] Error 1
mingw32-make[1]: Leaving directory `D:/apps/Qt/4.2.3/src/plugins/sqldrivers/psql
'
mingw32-make: *** [release] Error 2
To copy to clipboard, switch view to plain text mode
I am trying like this:
D:\apps\Qt\4.2.3\src\plugins\sqldrivers\psql>qmake -o Makefile "INCLUDEPATH+=D:\
apps\PostgreSQL\8.1\include D:\apps\PostgreSQL\8.1\include\libpq" psql.pro
D:\apps\Qt\4.2.3\src\plugins\sqldrivers\psql>qmake -o Makefile "INCLUDEPATH+=D:\
apps\PostgreSQL\8.1\include D:\apps\PostgreSQL\8.1\include\libpq" psql.pro
To copy to clipboard, switch view to plain text mode
Can somebody see whats wrong?
Thanks
Bookmarks