[Qt-interest] Trouble compiling Qt 4.4.3 with PostgreSQL support
R. Reucher
rene.reucher at batcom-it.net
Tue Dec 30 12:01:18 CET 2008
On Tue December 30 2008 11:53:02 Robert Hairgrove wrote:
> (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?
Not sure, but you definitely need a pam-devel package and/or tell configure
where to find it! The linker can't find the libpam.*...
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.
More information about the Qt-interest-old
mailing list