Re: how to compile postgresql with other version of openssl?
От | Adrian Klaver |
---|---|
Тема | Re: how to compile postgresql with other version of openssl? |
Дата | |
Msg-id | 55B57B63.8070808@aklaver.com обсуждение исходный текст |
Ответ на | Re: how to compile postgresql with other version of openssl? ("krzf83@gmail.com " <krzf83@gmail.com>) |
Список | pgsql-general |
On 07/26/2015 05:24 PM, krzf83@gmail.com wrote: >> It may be missing dependencies. > Like I mentioned without LDFLAGS CFLAGS there are no problem with > compilation so problem is with configure script and CFLAGS LDFLAGS > or/and openssl library > >> You should check config.log for more input > I've previously pasted config.log. It does not contain any > information, only "configure: exit 1", nothing else. Unless I missed something all you showed was the last three lines of the file, which may or may not have anything to do with issue. > > for tests openssl was compiled with > CFLAGS=-fPIC ./config shared zlib zlib-dynamic --openssldir=/usr/openssl-0.9.8zg > CFLAGS=-fPIC ./config shared zlib zlib-dynamic --openssldir=/usr/openssl-1.0.1p > > # LDFLAGS="-L/usr/openssl-0.9.8zg/lib" ./configure --with-openssl > checking test program... failed > configure: error: > 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. > > # LDFLAGS="-L/usr/openssl-1.0.1p/lib" ./configure --with-openssl > works. Compiles ok. ldd psql does not show linking to any openssl lib > for some reason for this new version of openssl (maybe its compiled > staticly?) so I don't know any other method to check if 1.0.1p is > actualy compiled in (?) > > so a bug... postgresql incomaptibility with openssl 0.9.8zg and a bug > with ./configure program that does not output anything usefull that > would indicate cause. > > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: