[strongSwan] strongswan plugin unbound cant detect ldns
Modster, Anthony
Anthony.Modster at Teledyne.com
Thu Apr 9 02:46:36 CEST 2020
Hello
Configure cant detect ldns.
I have the path to the staging lib dir.
Also checked that the symbol configure looks for is in the libldns.a file.
ls -l /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/mips-mv-linux/usr/lib32/libldns.a
-rw-r--r-- 1 amodster amodster 1650592 2020-04-08 15:05 /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/mips-mv-linux/usr/lib32/libldns.a
nm /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/mips-mv-linux/usr/lib32/libldns.a | grep "ldns_rr_get_type"
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
000000b0 T ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
U ldns_rr_get_type
./configure --build=i686-linux --host=mips64-mv-linux --target=mips64-mv-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/mips-mv-linux/usr/lib32 --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man ss_cv_pthread_condattr_setclock_clock_monotone=yes --with-ipsecdir=/usr/lib32/ipsec --with-plugindir=/usr/lib32/ipsec/plugins --with-capabilities=libcap --enable-openssl --enable-eap-tls --enable-eap-mschapv2 --enable-xauth-eap --enable-gcrypt --enable-eap-identity --enable-eap-dynamic --enable-eap-radius --enable-eap-peap --enable-error-notify --build=i686-linux --host=mips64-mv-linux --target=mips64-mv-linux --without-lib-prefix --cache-file=/home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/work/mips-mv-linux/strongswan-5.8.2-r3/config.cache --without-systemdsystemunitdir --disable-systemd --enable-scepclient --disable-aesni --disable-soup --enable-stroke --enable-curl --enable-files --enable-curve25519 --enable-systime-fix --enable-ntru --enable-ldap --enable-gmp --enable-unbound
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/mips64-linux
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/mips64-common
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common-glibc
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common-linux
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/endian-big
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/mips64-linux
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/mips64-common
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common-glibc
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/common-linux
configure: loading site script /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/collections/cge60-main-1203161411/cge60-main/site/endian-big
configure: loading cache /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/work/mips-mv-linux/strongswan-5.8.2-r3/config.cache
checking for a BSD-compatible install... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/install -c
checking whether build environment is sane... yes
checking for mips64-mv-linux-strip... mips-montavista-linux-gnu-strip
checking for a thread-safe mkdir -p... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for mips64-mv-linux-pkg-config... no
checking for pkg-config... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for a sed that does not truncate output... /bin/sed
checking configured UDP ports (500, 4500)... ok
checking for mips64-mv-linux-gcc... mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32
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... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 accepts -g... yes
checking for mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 option to accept ISO C89... none needed
checking whether mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... mips64-mv-linux-gnu
checking how to run the C preprocessor... mips-montavista-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/grep
checking for egrep... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/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 whether byte ordering is bigendian... (cached) yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/grep -F
checking for ld used by mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32... mips-montavista-linux-gnu-ld
checking if the linker (mips-montavista-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mips-montavista-linux-gnu-nm
checking the name lister (mips-montavista-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mips-montavista-linux-gnu-ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for mips64-mv-linux-ar... mips-montavista-linux-gnu-ar
checking for mips64-mv-linux-strip... (cached) mips-montavista-linux-gnu-strip
checking for mips64-mv-linux-ranlib... mips-montavista-linux-gnu-ranlib
checking command to parse mips-montavista-linux-gnu-nm output from mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 supports -fno-rtti -fno-exceptions... no
checking for mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 option to produce PIC... -fPIC -DPIC
checking if mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 PIC flag -fPIC -DPIC works... yes
checking if mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 static flag -static works... yes
checking if mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 supports -c -o file.o... yes
checking if mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 supports -c -o file.o... (cached) yes
checking whether the mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32 linker (mips-montavista-linux-gnu-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... no
checking for egrep... (cached) /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/grep -E
checking for gawk... (cached) gawk
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for python... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... Traceback (most recent call last):
File "<string>", line 22, in <module>
File "/home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/lib/python2.6/distutils/sysconfig.py", line 22, in <module>
PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
TypeError: expected a character buffer object
checking for python extension module directory... Traceback (most recent call last):
File "<string>", line 22, in <module>
File "/home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/lib/python2.6/distutils/sysconfig.py", line 22, in <module>
PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") )
TypeError: expected a character buffer object
checking for perl... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/perl
checking for gperf... /home/amodster/montavista/workspace/CGE_6_1_711999_J/tmp/staging/i686-linux/usr/bin/gperf
checking gperf len type... size_t
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for library containing dlopen... -ldl
checking for library containing backtrace... none required
checking for backtrace... yes
checking for library containing socket... none required
checking for library containing pthread_create... -lpthread
checking for library containing __atomic_and_fetch... no
checking for dladdr... yes
checking for pthread_condattr_setclock(CLOCK_MONOTONIC)... unknown
checking for pthread_condattr_setclock... yes
checking for pthread_condattr_init... yes
checking for pthread_cond_timedwait_monotonic... no
checking for pthread_cancel... yes
checking for pthread_rwlock_init... yes
checking for pthread_spin_init... yes
checking for sem_timedwait... yes
checking for gettid... no
checking for SYS_gettid... yes
checking for qsort_r... yes
checking for GNU-style qsort_r... yes
checking for prctl... yes
checking for mallinfo... yes
checking for getpass... yes
checking for closefrom... no
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for fmemopen... yes
checking for funopen... no
checking for mmap... yes
checking for memrchr... yes
checking for setlinebuf... yes
checking for strptime... yes
checking for dirfd... yes
checking for sigwaitinfo... yes
checking for explicit_bzero... no
checking for syslog... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/syscall.h... (cached) no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking net/if_tun.h usability... no
checking net/if_tun.h presence... no
checking for net/if_tun.h... no
checking net/pfkeyv2.h usability... no
checking net/pfkeyv2.h presence... no
checking for net/pfkeyv2.h... no
checking netipsec/ipsec.h usability... no
checking netipsec/ipsec.h presence... no
checking for netipsec/ipsec.h... no
checking netinet6/ipsec.h usability... no
checking netinet6/ipsec.h presence... no
checking for netinet6/ipsec.h... no
checking linux/udp.h usability... yes
checking linux/udp.h presence... yes
checking for linux/udp.h... yes
checking for netinet/ip6.h... yes
checking for linux/fib_rules.h... yes
checking for struct sockaddr.sa_len... no
checking for struct sadb_x_policy.sadb_x_policy_priority... yes
checking for in6addr_any... yes
checking for in6_pktinfo... yes
checking for RTM_IFANNOUNCE... no
checking for IPSEC_MODE_BEET... yes
checking for IPSEC_DIR_FWD... yes
checking for RTA_TABLE... yes
checking for __int128... no
checking for GCC __sync operations... no
checking for register_printf_specifier... yes
checking for Windows target... no
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for working __attribute__((packed))... yes
checking clang... no
checking x86/x64 target... no
checking for __gmpz_init in -lgmp... yes
checking mpz_powm_sec... no
checking gmp.h version >= 4.1.4... yes
checking for ldap_init in -lldap... yes
checking for ber_free in -llber... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for curl_global_init in -lcurl... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for ldns_rr_get_type in -lldns... no
configure: error: UNBOUND library ldns not found
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20200409/245ae176/attachment-0001.html>
More information about the Users
mailing list