[ldns-users] ldns 1.6.10 SSL Version Configure Errors

W.C.A. Wijngaards wouter at NLnetLabs.nl
Thu Jul 28 07:16:02 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Sears,

On 07/27/2011 10:22 PM, Sears Merritt wrote:
> Hi All,
> 
> I am trying to build ldns 1.6.10 and am running into an odd problem with
> OpenSSL. I have compiled openssl version 1.0.0.d and am trying to use it
> to build ldns 1.6.10. When I run ./configure --with-ssl option it fails.
> The configure output is below, and is confusing because it is apparently
> using the correct openssl library, but thinks it is a version < 1.0.0.0.
> Any feedback would be appreciated.

The --with-ssl is like --with-ssl=/usr/local, not like
/usr/local/include.  So I guess it cannot find the library files?

In config.log, you can search for the string "checking for GOST...
checking for EVP_PKEY_set_type_str" and there is the output of the
compiler link command.  That can be helpful.

Some openssl packages have elliptic curves removed because of patent worry.

Best regards,
   Wouter

> dhcp-142-203:ldns-1.6.10 sears$ ./configure
> --with-ssl=/Users/sears/Documents/Projects/ira/include/openssl-1.0.0d
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking whether make sets $(MAKE)... yes
> checking whether gcc supports -std=c99... yes
> checking whether gcc supports -xc99... no
> checking for an ANSI C-conforming const... yes
> checking whether gcc supports -g... yes
> checking whether gcc supports -O2... yes
> checking whether gcc supports -Wall... yes
> checking whether gcc supports -W... yes
> checking whether gcc supports -Wwrite-strings... yes
> checking for getopt.h... yes
> checking for time.h... yes
> checking for winsock2.h... no
> checking for ws2tcpip.h... no
> checking whether gcc supports -Werror... yes
> checking whether gcc supports -Wall... (cached) yes
> checking whether gcc supports -std=c99... (cached) yes
> checking whether gcc supports -xc99... (cached) no
> checking for getopt.h... (cached) yes
> checking for time.h... (cached) yes
> checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1
> -D_ALL_SOURCE as a flag for gcc... no
> checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for
> gcc... no
> checking whether we need -std=c99 as a flag for gcc... no
> checking whether we need -D_BSD_SOURCE as a flag for gcc... no
> checking whether we need -D_GNU_SOURCE as a flag for gcc... no
> checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc...
> failed
> checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... no
> checking whether we need -D__EXTENSIONS__ as a flag for gcc... no
> checking for inline... inline
> checking for int8_t... yes
> checking for int16_t... yes
> checking for int32_t... yes
> checking for int64_t... yes
> checking for uint8_t... yes
> checking for uint16_t... yes
> checking for uint32_t... yes
> checking for uint64_t... yes
> checking for doxygen... no
> checking for library containing socket... none required
> checking for library containing inet_pton... none required
> checking build system type... i686-apple-darwin11.0.0
> checking host system type... i686-apple-darwin11.0.0
> checking for ar... /usr/bin/ar
> checking how to print strings... printf
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for fgrep... /usr/bin/grep -F
> checking for ld used by gcc...
> /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> checking if the linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
> checking the name lister (/usr/bin/nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 196608
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert i686-apple-darwin11.0.0 file names to
> i686-apple-darwin11.0.0 format... func_convert_file_noop
> checking how to convert i686-apple-darwin11.0.0 file names to toolchain
> format... func_convert_file_noop
> checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
> option to reload object files... -r
> checking for objdump... no
> checking how to recognize dependent libraries... pass_all
> checking for dlltool... no
> checking how to associate runtime and link libraries... printf %s\n
> checking for archiver @FILE support... no
> checking for strip... strip
> checking for ranlib... ranlib
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking command to parse /usr/bin/nm output from gcc object... ok
> checking for sysroot... no
> checking for mt... no
> checking if : is a manifest tool... no
> checking for dsymutil... dsymutil
> checking for nmedit... nmedit
> checking for lipo... lipo
> checking for otool... otool
> checking for otool64... no
> checking for -single_module linker flag... yes
> checking for -exported_symbols_list linker flag... yes
> checking for -force_load linker flag... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fno-common -DPIC
> checking if gcc PIC flag -fno-common -DPIC works... yes
> checking if gcc static flag -static works... no
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker
> (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports
> shared libraries... yes
> checking dynamic linker characteristics... darwin11.0.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for SSL... found in
> /Users/sears/Documents/Projects/ira/include/openssl-1.0.0d
> checking for HMAC_CTX_init in -lcrypto... yes
> checking for library containing dlopen... none required
> checking for openssl/ssl.h... yes
> checking for openssl/err.h... yes
> checking for openssl/rand.h... yes
> checking for EVP_sha256... yes
> checking for SHA256 and SHA512... checking for SHA256_Init... yes
> checking for GOST... checking for EVP_PKEY_set_type_str... no
> configure: error: OpenSSL >= 1.0.0 is needed for GOST support or rerun
> with --disable-gost
> 
> Thanks,
> Sears Merritt
> 
> 
> 
> _______________________________________________
> ldns-users mailing list
> ldns-users at open.nlnetlabs.nl
> http://open.nlnetlabs.nl/mailman/listinfo/ldns-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOMQyyAAoJEJ9vHC1+BF+NAe4QAIFP6UduISC0OB/etl6421uW
guUKQJXj6rOeOdEmRoRWWg0rgJzLKNcR+vfcIO/DldhElGimWdMj/qAX9W8sqM4+
Dxb1i7Rj/frgjy0QNn9EgnB+gypa9ELstLGdQVpfeeeuGdeoedu0OyAvNnbTqOG5
2zTRXMXOarO/bH+ikhnvuOGnpRqMjCWGmjXjEH+fwSgF486zTFpzgREQ+mFGFUjZ
3DThy1VNwbeHUUP/jOiHDXq16Z6FXgBij9XnL4xLXk4ssNhsKRLfF0pUv88P63eu
g8nSI+BxUQ70Q+NFB9TJVpD4Aq4BZkEJgi12ZViQOtLPYe3QyTl0oclW+FU6clBJ
jQuEkmUira3cs1Ec8zYw6pVXzkO1d6NaDG+aO8H6YHd/FTUsHgU4iuqHvi184kfR
sDbZJzmRaOrniZUwnr2hLv/rNxft7kFzEZanSGEPBV6eT1zMqnYJ4dX2+Na809Ye
EKk/KxEz42Eq2xhKSBQp/FBX1PNoE07xAYhJ7kZR/vv2KNUf/n7R4EJyrHBiC0hS
e4UBcGG4w+RPmmyCN9uc0ackPpw+bYh8EmJiSZWQEpkrTUbvt8e+e7gjWM3iPBn6
c7rnPWsdsJuUj8Nl5iKd5ck6eyfZFVcqMrnbjqjAAsVtiyjGCkmFmlaS0DPgOhu1
JI1H717mtdDwoxPgUo5M
=SbMa
-----END PGP SIGNATURE-----



More information about the ldns-users mailing list