From: | Jerry LeVan <jerry(dot)levan(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org> |
Subject: | configure can't find libcrypto on MacOS Sierra for pg 9.6.2 |
Date: | 2017-02-12 14:56:13 |
Message-ID: | 3F616225-B03B-4C19-8737-E662D377E43B@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello, I am trying to build pg 9.6.2 on my MacOS Sierra but
configure is being balky
configure:9494: checking for CRYPTO_new_ex_data in -lcrypto
configure:9519: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-for
mat-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 conftest.c -lcrypto -lz -ledi
t -lm >&5
ld: library not found for -lcrypto
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:9519: $? = 1
but libcrypto is present:
eagle:Desktop postgres$ ls -al /usr/lib/libcrypto*
-rwxr-xr-x 1 root wheel 2043536 Dec 10 04:53 /usr/lib/libcrypto.0.9.7.dylib
-rwxr-xr-x 1 root wheel 2681408 Dec 10 04:53 /usr/lib/libcrypto.0.9.8.dylib
-rw-r--r-- 1 root wheel 4209728 Dec 10 04:53 /usr/lib/libcrypto.35.dylib
lrwxr-xr-x 1 root wheel 21 Sep 24 13:20 /usr/lib/libcrypto.dylib -> libcrypto.0.9.8.dylib
The config.log file for 9.3.2 passes the test.
And for the 9.3.2 image:
eagle:Desktop postgres$ otool -L /usr/local/bin/postgres
/usr/local/bin/postgres:
/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 50.0.0)
/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 50.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
eagle:Desktop postgres$
Any suggestions?
Thanks
Jerry
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2017-02-12 16:41:14 | Re: configure can't find libcrypto on MacOS Sierra for pg 9.6.2 |
Previous Message | Adrian Klaver | 2017-02-12 00:46:31 | Re: [Off Topic] Visualizing grouping sets/cubes |