Re: GCC error while trying to install 9.4 via brew on MAC OS - Mailing list pgsql-general

From Jimmy Jack
Subject Re: GCC error while trying to install 9.4 via brew on MAC OS
Date
Msg-id 1420773418505.eb01493d@Nodemailer
Whole thread Raw
In response to Re: GCC error while trying to install 9.4 via brew on MAC OS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
thank you so much! that solved my issue




On Thu, Jan 8, 2015 at 6:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

"Jimmy Jack" <jimmyjack@gmail.com> writes:
> here it is, I apologize in advance for very large email

The problem is evidently here:

configure:12997: checking test program
configure:13007: clang -o conftest -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/libxml2 conftest.c -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm >&5
configure:13007: $? = 0
configure:13007: ./conftest
dyld: Library not loaded: /opt/boxen/homebrew/Cellar/openssl/1.0.1j/lib/libcrypto.1.0.0.dylib
Referenced from: /opt/boxen/homebrew/opt/openssl/lib/libssl.1.0.0.dylib
Reason: image not found
./configure: line 1928: 4124 Trace/BPT trap: 5 ./conftest$ac_exeext
configure:13007: $? = 133
configure: program exited with status 133
...
configure:13013: 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.

There's evidently something pretty broken about your homebrew openssl
installation. Remove that package, or reinstall it.

regards, tom lane


pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: How to exclude building/installing contrib modules on Windows
Next
From: Craig Ringer
Date:
Subject: Re: Inconsistent bgworker behaviour