[Qt-interest] Fwd: undefined symbol: PQstatus PostgreSQL 8.4 Qt 4.6.2
Heiko Steindl
heiko at kom.at
Sat Feb 20 14:20:41 CET 2010
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
> <mailto: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 <mailto: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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100220/3e64f7f1/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: heiko.vcf
Type: text/x-vcard
Size: 354 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100220/3e64f7f1/attachment.vcf
More information about the Qt-interest-old
mailing list