Re: GCC error while trying to install 9.4 via brew on MAC OS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jimmy Jack" <jimmyjack(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: GCC error while trying to install 9.4 via brew on MAC OS
Date: 2015-01-09 02:23:11
Message-ID: 15053.1420770191@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jimmy Jack" <jimmyjack(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2015-01-09 02:54:33 Re: How to exclude building/installing contrib modules on Windows
Previous Message Jimmy Jack 2015-01-09 02:20:04 Re: GCC error while trying to install 9.4 via brew on MAC OS