[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-bugs
Subject:    Re: BUG #15254: The configure --with-zlib option ignores zlib custom location
From:       Andres Freund <andres () anarazel ! de>
Date:       2018-06-27 21:05:51
Message-ID: 20180627210551.b4g45ku66wyqvn5g () alap3 ! anarazel ! de
[Download RAW message or body]

Hi,

On 2018-06-27 20:52:04 +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      15254
> Logged by:          Stephane Eybert
> Email address:      mittiprovence@yahoo.se
> PostgreSQL version: 10.4
> Operating system:   Linux Lubuntu 16.04
> Description:        
> 
> My zlib is being built under the user home directory. So is my postgresql
> system.
> 
> zlib:
> ./configure \
>   --prefix=/home/stephane/programs/install
> 
> postgresql:
> ./configure \
>   --prefix=/home/stephane/programs/install \
>   --without-zlib
> 
> Not all of us can install outside of our user directory. The postgresql
> stands out quite lonely on that.
> 

Prefix is about the install path, not about the library search path. You
can pass CPPFLAGS='-I/path/to/whatever' LDFLAGS='-L/path/to/whatever' to
configure.  Note that you'll potentially have to change your system
search library path, or LD_LIBRARY_PATH, environment to allow
libc/kernel to find shared libraries.

Greetings,

Andres Freund

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic