Re: how to compile postgresql with other version of openssl?

Поиск
Список
Период
Сортировка
От krzf83@gmail.com
Тема Re: how to compile postgresql with other version of openssl?
Дата
Msg-id CAJ1PRS=o2j=P2+UB34ESSk7+sJG9Pk7UvOX1BVxMK8pLgQGrYQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: how to compile postgresql with other version of openssl?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: how to compile postgresql with other version of openssl?  ("krzf83@gmail.com " <krzf83@gmail.com>)
Re: how to compile postgresql with other version of openssl?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: how to compile postgresql with other version of openssl?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
# LDFLAGS="-L/usr/openssl-0.9.8zg/lib" ./configure --with-openssl
Could not execute a simple test program.  This may be a problem
related to locating shared libraries.  Check the file 'config.log'
for the exact reason.

# grep -i ssl config.log
configure:13056: gcc -o conftest -Wall -Wmissing-prototypes
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -O2  -D_GNU_SOURCE  -L/usr/openssl-0.9.8zg/lib  conftest.c
-lssl -lcrypto -lz -lreadline -ltermcap -lrt -lcrypt -ldl -lm  >&5
./conftest: error while loading shared libraries: libssl.so.0.9.8:
cannot open shared object file: No such file or directory

# ls /usr/openssl-0.9.8zg/lib
./  ../  engines/  libcrypto.a  libcrypto.so@  libcrypto.so.0.9.8*
libssl.a  libssl.so@  libssl.so.0.9.8*  pkgconfig/

For some reason
LDFLAGS="-L/usr/openssl-1.0.1p/lib" ./configure --with-openssl
seems to compile ok


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: how to compile postgresql with other version of openssl?
Следующее
От: "krzf83@gmail.com "
Дата:
Сообщение: Re: how to compile postgresql with other version of openssl?