[Qt-interest] Fwd: undefined symbol: PQstatus PostgreSQL 8.4 Qt 4.6.2
Nikos Gerontidis
geronik444 at gmail.com
Sun Feb 21 10:00:16 CET 2010
I did recompile the plugin, I must clear on also, that the postgresql plugin
originally packed with qt sdk had no problem at all.
Anyway solution found, I have reinstalled the old version of postgresql and
now I am using the precompiled plugin.
On 2/20/10, Heiko Steindl <heiko at kom.at> wrote:
>
> Hello!
>
> I think, you just need to recompile the postgres plugin and then the plugin
> should work again.
>
> Kind regards
>
> Heiko
>
>
> On 02/20/10 13:21, Nikos Gerontidis wrote:
>
>
>
> ---------- 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
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
--
Best Regards
Nikos Gerontidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100221/dd1fda92/attachment.html
More information about the Qt-interest-old
mailing list