Configure error - openSSL. Mac OS X

James Brown jlbrown at bordo.com.au
Mon Mar 10 23:52:16 UTC 2014


On 11 Mar 2014, at 3:05 am, Tony Finch <dot at dotat.at> wrote:
> Try
> 
> LDFLAGS="-Wl,-R/usr/local/ssl/lib" ./configure --enable-threads --with-atf --enable-newstats --enable-rrl --with-ecdsa --with-gost --with-openssl=/usr/local/ssl
> 
> Tony.
> -- 
> f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
> Malin: Variable 3 or 4, becoming southerly 5 or 6 in northwest. Moderate or
> rough. Fair. Good.

Thanks Tony.

Unfortunately I get:

LDFLAGS="-Wl,-R/usr/local/ssl/lib" ./configure --enable-threads --with-atf --enable-newstats --enable-rrl --with-ecdsa --with-gost --with-openssl=/usr/local/ssl
checking build system type... x86_64-apple-darwin13.1.0
checking host system type... x86_64-apple-darwin13.1.0
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/Users/jlbrown/Downloads/bind-9.9.5':
configure: error: C compiler cannot create executables
See `config.log' for more details

Looking at config.log I see:

configure:3036: checking for gcc
configure:3052: found /usr/bin/gcc
configure:3063: result: gcc
configure:3292: checking for C compiler version
configure:3301: gcc --version >&5
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
configure:3312: $? = 0
configure:3301: gcc -v >&5
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
configure:3312: $? = 0
configure:3301: gcc -V >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3312: $? = 1
configure:3301: gcc -qversion >&5
clang: error: no input files
configure:3312: $? = 1
configure:3332: checking whether the C compiler works
configure:3354: gcc   -Wl,-R/usr/local/ssl/lib /usr/bin/ conftest.c  >&5
ld: unknown option: -R/usr/local/ssl/lib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:3358: $? = 1
configure:3396: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */


James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140311/0a4a8cba/attachment.html>


More information about the bind-users mailing list