Re: LibreOffice driver 1: Building libpq with Mozilla LDAP instead of OpenLDAP

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Golub <pavel@gf.microolap.com>
Cc: Greg Smith <greg@2ndQuadrant.com>, Lionel Elie Mamane <lionel@mamane.lu>, pgsql-hackers@postgresql.org
Date: 2011-12-14T15:05:26Z
Lists: pgsql-hackers
Pavel Golub <pavel@microolap.com> writes:
> You wrote:
> TL> about OSX though.  (You're aware that Apple ships a perfectly fine
> TL> libpq.so in Lion, no?)

> Is it true? Really? Where can we read about it?

/Library/WebServer/Documents/postgresql/html ...

I don't know where else Apple documents this, but there's a
complete-looking set of client-side libraries and command line tools
from Postgres 9.0.4 in base Lion.  I understand that if you buy Lion
Server you get the postmaster too, but I haven't done that so I can't
verify it from personal experience.  libpq.dylib is definitely right
there in /usr/lib though, and it apparently is well-configured, because
/usr/bin/pg_config says

CONFIGURE = '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--prefix=/usr' '--sbindir=/usr/libexec' '--sysconfdir=/private/etc' '--localstatedir=/var/pgsql' '--htmldir=/Library/WebServer/Documents/postgresql' '--enable-thread-safety' '--enable-dtrace' '--with-tcl' '--with-perl' '--with-python' '--with-gssapi' '--with-krb5' '--with-pam' '--with-ldap' '--with-bonjour' '--with-openssl' '--with-libxml' '--with-libxslt' '--with-system-tzdata=/usr/share/zoneinfo' 'CFLAGS=-arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations' 'LDFLAGS=-arch x86_64 -arch i386 -pipe -Os -g -Wall -Wno-deprecated-declarations' 'LDFLAGS_EX=-mdynamic-no-pic'

I've not made an attempt to use it directly myself, but it sure looks
like it should do what the OP wants.

			regards, tom lane