Qt-interest Archive, March 2008
Problem building Qt 4.3.4
Message 1 in thread
Hi list,
when i tried to build Qt using the following options:
./configure -largefile -exceptions -qt-sql-psql -system-sqlite -universal
i get the following error after calling make
"_PQresultStatus", referenced from:
QPSQLResultPrivate::processResults() in qsql_psql.o
setEncodingUtf8(pg_conn*) in qsql_psql.o
setDatestyle(pg_conn*) in qsql_psql.o
getPSQLVersion(pg_conn*) in qsql_psql.o
QPSQLDriver::beginTransaction() in qsql_psql.o
QPSQLDriver::commitTransaction() in qsql_psql.o
QPSQLDriver::rollbackTransaction() in qsql_psql.o
"_PQnfields", referenced from:
QPSQLResult::data(int) in qsql_psql.o
QPSQLResult::record() const in qsql_psql.o
"_PQfmod", referenced from:
QPSQLResult::record() const in qsql_psql.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cckAPmeh.out (No such file or directory)
make[2]: *** [../../lib/QtSql.framework/QtSql_debug] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-sql-make_default-ordered] Error 2
Thanks for any advice!
--
[ signature omitted ]
Message 2 in thread
Christian Rengstl wrote:
> lipo: can't open input file: /var/tmp//cckAPmeh.out (No such file or directory)
>
I've come across that line many times, and it has always turned out to
be a universal binary problem. Is your postgres library universal? It
looks as though it can't link to one of the architectures it expects to
be there.
D
--
[ signature omitted ]