[Qt-interest] Fwd: undefined symbol: PQstatus PostgreSQL 8.4 Qt 4.6.2
Nikos Gerontidis
geronik444 at gmail.com
Sat Feb 20 13:21:59 CET 2010
---------- Forwarded message ----------
From: Nikos Gerontidis <geronik444 at gmail.com>
Date: Sat, Feb 20, 2010 at 2:09 PM
Subject: undefined symbol: PQstatus PostgreSQL 8.4 Qt 4.6.2
To: qt-interest at trolltech.com
Hello list
I have recently updated to PostgreSQL 8.4 from 8.3.
Now my application fails to establish a connection to the database inside
PostgreSQL 8.4.
Application output :
*symbol lookup error:
/home/nik/qtsdk-2010.02/qt/plugins/sqldrivers/libqsqlpsql.so: undefined
symbol: PQstatus*
any ideas? thanks in advance.
--
Best Regards
Nikos Gerontidis
strace output :
*execve("./run.sh", ["./run.sh"], [/* 76 vars */]) = -1 ENOEXEC (Exec format
error)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb80b0000
_llseek(3, 0, 0xbfc1d03c, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format
error
) = 32
close(3) = 0
munmap(0xb80b0000, 4096) = 0
exit_group(1) = ?
*
--
Best Regards
Nikos Gerontidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100220/a044f4e3/attachment.html
More information about the Qt-interest-old
mailing list