Re: pgagent compilation

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Dominique Guardiola <dguardiola(at)quinode(dot)fr>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: pgagent compilation
Date: 2011-09-05 13:01:12
Message-ID: CA+OCxox67cGsfeSok9hKSV0AzfjBkinNbN6Urv=ENW0yYGnW5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

On Mon, Sep 5, 2011 at 1:46 PM, Dominique Guardiola
<dguardiola(at)quinode(dot)fr> wrote:
>
> The resulting config looks good :
>
> Configuration summary:
> --
> --   Project                     : pgagent
> --   Description                 : pgAgent is a job scheduling engine for PostgreSQL
> --   Version                     : 3.0.1
> --
> --   PostgreSQL version          : PostgreSQL 8.4.7
> --   PostgreSQL path             : /usr
> --   PostgreSQL config binary    : /usr/bin/pg_config
> --   PostgreSQL include path     : /usr/include/postgresql
> --   PostgreSQL library path     : /usr/lib
> --
> --   wxWidgets version           : 2.8.12
> --   wxWidgets path              : /usr/local
> --   wxWidgets config binary     : /usr/local/bin/wx-config
> --   wxWidgets Static linking    : YES
> --   wxWidgets Debug?            : NO
>
> But make throws up errors that I cannot decode :
>
> # make
> Scanning dependencies of target pgagent
> [ 14%] Building CXX object CMakeFiles/pgagent.dir/pgAgent.cpp.o
> [ 28%] Building CXX object CMakeFiles/pgagent.dir/misc.cpp.o
> [ 42%] Building CXX object CMakeFiles/pgagent.dir/unix.cpp.o
> [ 57%] Building CXX object CMakeFiles/pgagent.dir/connection.cpp.o
> [ 71%] Building CXX object CMakeFiles/pgagent.dir/job.cpp.o
> [ 85%] Building CXX object CMakeFiles/pgagent.dir/precomp.cpp.o
> [100%] Building CXX object CMakeFiles/pgagent.dir/win32.cpp.o
> Linking CXX executable pgagent
> /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/libpq.a(fe-connect.o): In function `parseServiceInfo':
> (.text+0x103f): undefined reference to `ldap_init'

<snip>

Try a dynamically linked build instead of static. It looks like the
packages you're using have LDAP and MIT Kerberos support compiled in,
which the static build of pgAgent (which is rarely used) doesn't
support.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2011-09-05 13:07:44 Re: Rights for pgadmin3
Previous Message Dominique Guardiola 2011-09-05 12:46:05 pgagent compilation