Re: compilation info without pg_config

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: compilation info without pg_config
Date: 2012-03-26 13:05:51
Message-ID: b4a6b81cc23c82fa97bc5112449df317@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> i'd like to figure out if my pg server (9.0.2) running on OpenSuse
> has been compiled with gssapi support. The PG OpenSuse package
> seems to not ship pg_config for some reason.

That's a known bug (IMO) with most distros: pg_config is put into
the -devel package.

> Is there another way to determine that?

You can use ldd on the postgres executable, e.g.

$ ldd /usr/local/bin/postgres | grep gss
libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x0414d000)

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201203260903
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAk9waT8ACgkQvJuQZxSWSsg8nQCg2HVYrglAwdkvHwQ+s6t0CTHn
vckAn2G0rS9OT9lfLvZ7gN3Rt4PKvYGu
=IQ8G
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2012-03-26 13:09:56 Re: compilation info without pg_config
Previous Message Tom Molesworth 2012-03-26 12:38:38 Re: can these queries be combined into one?