compilation info without pg_config

Started by Maximilian Tyrtaniaabout 14 years ago7 messagesgeneral
Jump to latest
#1Maximilian Tyrtania
lists@contactking.de

Hi there,

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.

Is there another way to determine that?

Maximilian Tyrtania
http://www.contactking.de

#2John R Pierce
pierce@hogranch.com
In reply to: Maximilian Tyrtania (#1)
Re: compilation info without pg_config

On 03/26/12 2:22 AM, Maximilian Tyrtania wrote:

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.

the redhat packages put pg_config in /usr/pgsql-x.y/bin (and its part
of the postgresqlXY-devel package)

perhaps the opensuse packages are similar ?

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

#3Maximilian Tyrtania
lists@contactking.de
In reply to: John R Pierce (#2)
Re: compilation info without pg_config

Am 26.03.2012 um 11:34 schrieb John R Pierce:

On 03/26/12 2:22 AM, Maximilian Tyrtania wrote:

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.

the redhat packages put pg_config in /usr/pgsql-x.y/bin (and its part of the postgresqlXY-devel package)

perhaps the opensuse packages are similar ?

Unfortunately no.

sputnik-active:/usr # find / -name pg_config
sputnik-active:/usr #

Maximilian Tyrtania
http://www.contactking.de

#4Greg Sabino Mullane
greg@turnstep.com
In reply to: Maximilian Tyrtania (#1)
Re: compilation info without pg_config

-----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@turnstep.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-----

#5Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Maximilian Tyrtania (#3)
Re: compilation info without pg_config

On 03/26/2012 03:01 AM, Maximilian Tyrtania wrote:

Am 26.03.2012 um 11:34 schrieb John R Pierce:

On 03/26/12 2:22 AM, Maximilian Tyrtania wrote:

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.

the redhat packages put pg_config in /usr/pgsql-x.y/bin (and its part of the postgresqlXY-devel package)

perhaps the opensuse packages are similar ?

Unfortunately no.

sputnik-active:/usr # find / -name pg_config
sputnik-active:/usr #

I think what John was trying to get at was, have you tried installing
the postgresql-devel package to get pg_config? On my install of OpenSUSE
12.1 that package has pg_config.

Maximilian Tyrtania
http://www.contactking.de

--
Adrian Klaver
adrian.klaver@gmail.com

#6Devrim GÜNDÜZ
devrim@gunduz.org
In reply to: Greg Sabino Mullane (#4)
Re: compilation info without pg_config

On Mon, 2012-03-26 at 13:05 +0000, Greg Sabino Mullane wrote:

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.

RPMs have it in main package over the last few months.

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

#7Maximilian Tyrtania
lists@contactking.de
In reply to: Adrian Klaver (#5)
Re: compilation info without pg_config

Am 26.03.2012 um 15:09 schrieb Adrian Klaver:

On 03/26/2012 03:01 AM, Maximilian Tyrtania wrote:

Am 26.03.2012 um 11:34 schrieb John R Pierce:

On 03/26/12 2:22 AM, Maximilian Tyrtania wrote:

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.

the redhat packages put pg_config in /usr/pgsql-x.y/bin (and its part of the postgresqlXY-devel package)

perhaps the opensuse packages are similar ?

Unfortunately no.

sputnik-active:/usr # find / -name pg_config
sputnik-active:/usr #

I think what John was trying to get at was, have you tried installing the postgresql-devel package to get pg_config? On my install of OpenSUSE 12.1 that package has pg_config.

Oh, I see. Needed the extra pointer. Will give that and Greg's ldd approach a try.

Thank you very much,

Max