Hi
On Mon, Sep 5, 2011 at 1:46 PM, Dominique Guardiola
<dguardiola@quinode.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