Re: BUG #15254: The configure --with-zlib option ignores zlib customlocation

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #15254: The configure --with-zlib option ignores zlib customlocation
Дата
Msg-id 20180627210551.b4g45ku66wyqvn5g@alap3.anarazel.de
обсуждение исходный текст
Ответ на BUG #15254: The configure --with-zlib option ignores zlib customlocation  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
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


В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15254: The configure --with-zlib option ignores zlib customlocation
Следующее
От: Alexey Bashtanov
Дата:
Сообщение: Re: Server Crash