Re: Debian AMD64 compile problem

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>
Cc: <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Debian AMD64 compile problem
Date: 2005-11-04 15:25:18
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4CC393D@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: Joost Kraaijeveld [mailto:J(dot)Kraaijeveld(at)Askesis(dot)nl]
> Sent: 04 November 2005 15:12
> To: Dave Page
> Cc: pgadmin-support(at)postgresql(dot)org
> Subject: RE: [pgadmin-support] Debian AMD64 compile problem
>
> Hi Dave,
>
> > Yeah, it looks like it's finding libpq (which is not always
> a surpsie if
> > it's somewhere in LD_LIBRARY_PATH, but failing to find the
> headers which
> > it needs the precise location of. You can override the
> header path with
> > --with-pgsql-include=/path/to/dir. It expects to find
> libpq-fe.h (and
> > any dependencies) in the directory you specify.
> Now I have an executable. Running the executable results in a strange
> error:
>
> jkr(at)Panoramix:~/even/pgadmin3-1.4.0-beta3/src$ ./pgadmin3
> Fatal Error: Mismatch between the program and library build versions
> detected.
> The library used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx
> containers,compatible with 2.4),
> and your program used 2.6 (no debug,Unicode,compiler with C++
> ABI 102,wx
> containers,compatible with 2.4).
> Aborted
>
> Any ideas? Could it be that the version of wxWidgeds I installed was
> compiled with g++ 4.x and I actually used g++ 3.3.5 as I see that the
> ABI version is different (102 vs 1002)?

Quite possibly. You normally get that error when pgAdmin is built in
debug mode and wx in non-debug, or static vs dynamic, unicode vs
non-unicode etc. All those errors should now be picked up by configure
following my recent re-working of the wx detection code.

I would try building your own version of wx from source.

Regards, Dave

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Joost Kraaijeveld 2005-11-04 15:39:17 Re: Debian AMD64 compile problem
Previous Message Joost Kraaijeveld 2005-11-04 15:11:57 Re: Debian AMD64 compile problem