bo gu <[email protected]> writes:
> It seemed the executable was compiled with ldap:
> ldd /usr/local/pgsql/bin/postgres
> libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x0000002a956ed000)
> <----
I agree, that executable looks to have ldap support.
> But when I ran pg_ctl start, it exits without listening any port and I got
> this:
> tail postgresql-2011-10-24_104954.log
> LOG: invalid authentication method "ldap": not supported by this build
> CONTEXT: line 97 of configuration file
> "/usr/local/pgsql/databases/tudouapi/pg_hba.conf"
But this one doesn't. Are you sure you invoked
/usr/local/pgsql/bin/postgres, and not some other copy?
regards, tom lane
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general