Skip site navigation (1) Skip section navigation (2)

how does LDFLAGS work?

From: michael lush <mjlush(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: how does LDFLAGS work?
Date: 2011-10-03 11:35:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
I'm trying to compile postgres 8.4.2 with perl and ssl support but
have no root access

./configure --with-openssl --with-perl --prefix=/home/michael/postgresql-8.4.2
dies with

checking for -lreadline... yes (-lreadline -ltermcap)
checking for inflate in -lz... yes
checking for CRYPTO_new_ex_data in -lcrypto... no
configure: error: library 'crypto' is required for OpenSSL

I did a local install of OpenSSL in  /home/michael/openssl however,  I
not clear how to point configure at the local library
In the INSTALL notes under "configure complains about a failed test program"

It seems to suggest I use something like ' configure ... LDFLAGS="-R

 ./configure --with-openssl --with-perl
--prefix=/home/michael/postgresql-8.4.2 LDFLAGS="-R

only gets as far as
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

the ld manpage seems to indicate that -R is looking for a filename
though I'm not sure what to put in the file.



pgsql-novice by date

Next:From: Tom LaneDate: 2011-10-03 14:37:54
Subject: Re: how does LDFLAGS work?
Previous:From: Carlo AscaniDate: 2011-10-03 08:32:12
Subject: Re: Connection refused (0x0000274D/10061)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group