Re: Considerations for lib64 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Considerations for lib64
Date
Msg-id 20031125175825.GC2834@dcc.uchile.cl
Whole thread Raw
In response to Considerations for lib64  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Mon, Nov 24, 2003 at 07:25:56PM +0100, Peter Eisentraut wrote:

> Currently, when you specify --with-openssl, then configure automatically
> adds -L/usr/local/ssl/lib to LDFLAGS if that directory exists.  This would
> pick up the wrong directory if you are in 64-bit mode.  Analogous behavior
> exists for --with-krb5 with /usr/athena.

> I think these default installation directories of OpenSSL and Kerberos are
> mostly obsolete these days, so I'd rather get rid of that behavior
> altogether and let people specify the necessary directories with
> --with-libraries and --with-includes like for any of the other optional
> packages that PostgreSQL supports.

Both default directories are wrong according to my installation.  In
fact, both libraries are just in /usr/lib.  Certainly it will be a mess
trying to compile with a different LDFLAGS if things are added randomly.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Cómo ponemos nuestros dedos en la arcilla del otro. Eso es la amistad; jugar
al alfarero y ver qué formas se pueden sacar del otro" (C. Halloway en
La Feria de las Tinieblas, R. Bradbury)


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Build farm
Next
From: Kurt Roeckx
Date:
Subject: Re: A rough roadmap for internationalization fixes