Re: pgagent linker problem

From: Dave Page <dpage(at)postgresql(dot)org>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: pgagent linker problem
Date: 2006-12-09 08:46:28
Message-ID: 457A77E4.4070903@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Zdenek Kotala wrote:
> When I try make pgagent binary (Solaris 10/SS11/wx2.8rc3), linker does
> not recognize some symbols:
>
> Undefined first referenced
> symbol in file
> wxRadioButtonNameStr connection.o
> wxFileDialogNameStr connection.o
> wxComboBoxNameStr connection.o
> wxToolBarNameStr connection.o
> <snip>
>
> If I look into Makefile, there is
> pgagent_LDADD = -L/opt/wxWidgegets-2.8.0/lib -mt -L/usr/openwin/lib
> -lwx_baseud-2.8
>
> However missing symbols are located in the wx_gtk2ud_core-2.8. If I
> added this library into pgagent_LDADD, it works fine.
>
> Do you have any idea why it does not work - why configure does not setup
> correct LD?

It does on other platforms/wx versions - I guess something changed in
wx2.8rc3 :-(

The easy fix is to add 'core' to the appropriate lines in acinclude.m4:

pgagent_LDADD=`${WX_CONFIG} ${WX_STATIC} --libs base,core --unicode=yes
--debug=yes --version=${WX_VERSION}`

I'll do so later.

Thanks, Dave

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2006-12-09 09:53:34 Re: Joining EnterpriseDB
Previous Message Devrim GUNDUZ 2006-12-08 17:33:34 Re: Joining EnterpriseDB