Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2006-12-09 09:53:34
Subject: Re: Joining EnterpriseDB
Previous:From: Devrim GUNDUZDate: 2006-12-08 17:33:34
Subject: Re: Joining EnterpriseDB

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group