[Qt-interest] Trouble compiling Qt 4.4.3 with PostgreSQL support
Robert Hairgrove
evorgriahr at hispeed.ch
Tue Dec 30 11:53:02 CET 2008
(Qt 4.4.3, Ubuntu 7.04, PostgreSQL server and dev package ver. 8.2)
Qt builds fine unless I try to enable PostgreSQL support with the
"-qt-sql-psql" switch. Configure fails when checking for PostgreSQL
support:
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
The -L switch used for testing is:
-L/usr/lib -lpgport -lpam -lssl -lcrypto -lkrb5 -lcom_err -lz
-lreadline -lcrypt -ldl -lm -lpq
All the PostgreSQL include files are located properly at:
-I/usr/include/postgresql
Do I need a higher version of PostgreSQL?
More information about the Qt-interest-old
mailing list