[getdns-api] How to specify ldns in ./configure?
John Dickinson
jad at sinodun.com
Mon May 12 08:00:07 MST 2014
The messages below look like it can not find openssl libs. What does ldd have to say on the subject?
regards
John
On 12 May 2014, at 14:51, Paul Hoffman <paul.hoffman at vpnc.org> wrote:
> I was incorrect below when I said that I compiled ldns with no extra configure options. It was in fact compiled with:
>
> ./configure --disable-shared --with-ssl=/home/dns/openssl1 --prefix=/home/dns/ldns-1.6.17
>
>
> On May 12, 2014, at 7:07 AM, Paul Hoffman <paul.hoffman at vpnc.org> wrote:
>
>> On May 12, 2014, at 5:38 AM, John Dickinson <jad at sinodun.com> wrote:
>>
>>> Can you post your config.log? There should be a section like this:
>>
>> Sorry, I forgot that. ./configure is clearly finding the file, but for some reason doesn't like it.
>>
>> FWIW, I compiled ldns with no extra configure options. Was I supposed to include something in *that* configure to make this one work?
>>
>> --Paul Hoffman
>>
>>
>> configure:10887: Checking for dependency ldns
>> configure:10889: checking for ldns_dname_new_frm_str in -lldns
>> configure:10914: gcc -o conftest -g -O2 -D_XOPEN_SOURCE=501 -I/home/dns/libidn/include -I/home/dns/ldns-1.6.17/include -I/home/dns/unbound-1.4.22/include -L/home/dns/libidn/lib -L/home/dns/ldns-1.6.17/lib -L/home/dns/unbound-1.4.22/lib conftest.c -lldns >&5
>> /home/dns/ldns-1.6.17/lib/libldns.a(host2str.o): In function `ldns_key2buffer_str':
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2014: undefined reference to `BN_bn2bin'
>> /home/dns/ldns-1.6.17/lib/libldns.a(host2str.o): In function `ldns_gost_key2buffer_str':
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:1919: undefined reference to `i2d_PrivateKey'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:1924: undefined reference to `CRYPTO_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(host2str.o): In function `ldns_key2buffer_str':
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2159: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2268: undefined reference to `EVP_PKEY_get1_EC_KEY'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2269: undefined reference to `EC_KEY_get0_private_key'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2271: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2284: undefined reference to `EC_KEY_free'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2026: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2040: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2057: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2074: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2091: undefined reference to `BN_bn2bin'
>> /home/dns/ldns-1.6.17/lib/libldns.a(host2str.o):/home/dns/Tools/ldns-1.6.17/./host2str.c:2108: more undefined references to `BN_bn2bin' follow
>> /home/dns/ldns-1.6.17/lib/libldns.a(host2str.o): In function `ldns_key2buffer_str':
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2141: undefined reference to `RSA_free'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2176: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2193: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2210: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./host2str.c:2227: undefined reference to `BN_bn2bin'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_EC_KEY_calc_public':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:226: undefined reference to `EC_POINT_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_ecdsa_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:272: undefined reference to `EC_KEY_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:255: undefined reference to `EC_KEY_new_by_curve_name'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:263: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:269: undefined reference to `EC_KEY_set_private_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:270: undefined reference to `BN_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_EC_KEY_calc_public':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:217: undefined reference to `EC_KEY_get0_group'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:218: undefined reference to `EC_POINT_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:220: undefined reference to `EC_GROUP_get0_generator'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:220: undefined reference to `EC_POINT_copy'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:224: undefined reference to `EC_KEY_get0_private_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:224: undefined reference to `EC_POINT_mul'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:229: undefined reference to `EC_KEY_set_public_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:233: undefined reference to `EC_POINT_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_ecdsa_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:276: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:281: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:282: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:283: undefined reference to `EC_KEY_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:257: undefined reference to `EC_KEY_new_by_curve_name'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_EC_KEY_calc_public':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:230: undefined reference to `EC_POINT_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_ecdsa_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:278: undefined reference to `EC_KEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_dsa2bin':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1325: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1339: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1340: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1341: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1342: undefined reference to `BN_bn2bin'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_engine':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:100: undefined reference to `UI_OpenSSL'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:100: undefined reference to `ENGINE_load_private_key'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_EVP_load_gost_id':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:130: undefined reference to `EVP_PKEY_asn1_find_str'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:165: undefined reference to `EVP_PKEY_asn1_get0_info'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:137: undefined reference to `ENGINE_by_id'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:148: undefined reference to `ENGINE_set_default'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:154: undefined reference to `EVP_PKEY_asn1_find_str'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:157: undefined reference to `ENGINE_finish'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:158: undefined reference to `ENGINE_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:140: undefined reference to `ENGINE_load_builtin_engines'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:141: undefined reference to `ENGINE_load_dynamic'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:142: undefined reference to `ENGINE_by_id'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_gost_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:204: undefined reference to `d2i_PrivateKey'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_EVP_unload_gost':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:172: undefined reference to `ENGINE_finish'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:173: undefined reference to `ENGINE_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_rsa_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:562: undefined reference to `RSA_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:577: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:587: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:597: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:607: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:617: undefined reference to `BN_bin2bn'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o):/home/dns/Tools/ldns-1.6.17/./keys.c:627: more undefined references to `BN_bin2bn' follow
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_rsa_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:658: undefined reference to `RSA_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_fp_dsa_l':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:680: undefined reference to `DSA_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:693: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:703: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:713: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:723: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:733: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:747: undefined reference to `DSA_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_set_rsa_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1000: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1001: undefined reference to `EVP_PKEY_set1_RSA'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_set_dsa_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1008: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1009: undefined reference to `EVP_PKEY_set1_DSA'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_algorithm':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:931: undefined reference to `EC_KEY_new_by_curve_name'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:936: undefined reference to `EC_KEY_generate_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:942: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:948: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:950: undefined reference to `EC_KEY_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:845: undefined reference to `RSA_generate_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:850: undefined reference to `RSA_check_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:855: undefined reference to `RSA_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:891: undefined reference to `RAND_bytes'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_gen_gost_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:793: undefined reference to `EVP_PKEY_CTX_new_id'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:798: undefined reference to `EVP_PKEY_CTX_ctrl_str'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:804: undefined reference to `EVP_PKEY_keygen_init'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:808: undefined reference to `EVP_PKEY_keygen'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:813: undefined reference to `EVP_PKEY_CTX_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_algorithm':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:861: undefined reference to `DSA_generate_parameters'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:866: undefined reference to `DSA_generate_key'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:871: undefined reference to `DSA_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_gen_gost_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:809: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:810: undefined reference to `EVP_PKEY_CTX_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_new_frm_algorithm':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:929: undefined reference to `EC_KEY_new_by_curve_name'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_assign_rsa_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1016: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1017: undefined reference to `EVP_PKEY_assign'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_assign_dsa_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1024: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1025: undefined reference to `EVP_PKEY_assign'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_rsa2bin':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1292: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1300: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1303: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1305: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1306: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1306: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1307: undefined reference to `BN_num_bits'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key2rr':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1439: undefined reference to `RSA_free'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1516: undefined reference to `EVP_PKEY_get1_EC_KEY'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1518: undefined reference to `EC_KEY_set_conv_form'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1519: undefined reference to `i2o_ECPublicKey'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1520: undefined reference to `i2o_ECPublicKey'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1536: undefined reference to `EC_KEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_gost2bin':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1353: undefined reference to `i2d_PUBKEY'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1361: undefined reference to `CRYPTO_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key2rr':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1482: undefined reference to `DSA_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_gost2bin':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1355: undefined reference to `CRYPTO_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_rsa2bin':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1296: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1297: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1298: undefined reference to `BN_bn2bin'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key2rr':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1521: undefined reference to `EC_KEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_deep_free':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1583: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_rsa_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1131: undefined reference to `EVP_PKEY_get1_RSA'
>> /home/dns/ldns-1.6.17/lib/libldns.a(keys.o): In function `ldns_key_dsa_key':
>> /home/dns/Tools/ldns-1.6.17/./keys.c:1141: undefined reference to `EVP_PKEY_get1_DSA'
>> /home/dns/ldns-1.6.17/lib/libldns.a(tsig.o): In function `ldns_digest_function':
>> /home/dns/Tools/ldns-1.6.17/./tsig.c:146: undefined reference to `EVP_md5'
>> /home/dns/ldns-1.6.17/lib/libldns.a(tsig.o): In function `ldns_tsig_mac_new':
>> /home/dns/Tools/ldns-1.6.17/./tsig.c:250: undefined reference to `HMAC'
>> /home/dns/ldns-1.6.17/lib/libldns.a(tsig.o): In function `ldns_digest_function':
>> /home/dns/Tools/ldns-1.6.17/./tsig.c:139: undefined reference to `EVP_sha256'
>> /home/dns/Tools/ldns-1.6.17/./tsig.c:144: undefined reference to `EVP_sha1'
>> /home/dns/ldns-1.6.17/lib/libldns.a(util.o): In function `ldns_init_random':
>> /home/dns/Tools/ldns-1.6.17/./util.c:377: undefined reference to `RAND_seed'
>> /home/dns/Tools/ldns-1.6.17/./util.c:377: undefined reference to `RAND_seed'
>> /home/dns/ldns-1.6.17/lib/libldns.a(util.o): In function `ldns_get_random':
>> /home/dns/Tools/ldns-1.6.17/./util.c:404: undefined reference to `RAND_bytes'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_key_buf2dsa_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:358: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:361: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:364: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:367: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:371: undefined reference to `DSA_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:372: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:373: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:374: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:375: undefined reference to `BN_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_key_buf2rsa_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:426: undefined reference to `BN_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:428: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:432: undefined reference to `BN_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:438: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:440: undefined reference to `RSA_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:434: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:442: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:443: undefined reference to `BN_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_digest_evp':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:459: undefined reference to `EVP_MD_CTX_create'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:462: undefined reference to `EVP_DigestInit_ex'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:463: undefined reference to `EVP_DigestUpdate'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:465: undefined reference to `EVP_MD_CTX_destroy'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:464: undefined reference to `EVP_DigestFinal_ex'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:468: undefined reference to `EVP_MD_CTX_destroy'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_key_rr2ds':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:641: undefined reference to `SHA384'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:519: undefined reference to `EVP_get_digestbyname'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:524: undefined reference to `EVP_MD_size'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:634: undefined reference to `EVP_MD_size'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_convert_dsa_rrsig_asn12rdf':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1715: undefined reference to `d2i_DSA_SIG'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1729: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1736: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1737: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1744: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1750: undefined reference to `DSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1739: undefined reference to `DSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1719: undefined reference to `DSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1725: undefined reference to `DSA_SIG_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_convert_dsa_rrsig_rdf2asn1':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1768: undefined reference to `BN_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1770: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1772: undefined reference to `BN_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1777: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1780: undefined reference to `DSA_SIG_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1790: undefined reference to `i2d_DSA_SIG'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1800: undefined reference to `DSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1782: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1783: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1774: undefined reference to `BN_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1792: undefined reference to `DSA_SIG_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_convert_ecdsa_rrsig_asn12rdf':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1814: undefined reference to `d2i_ECDSA_SIG'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1818: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1818: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1824: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1825: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1825: undefined reference to `BN_bn2bin'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1827: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1827: undefined reference to `BN_num_bits'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1828: undefined reference to `ECDSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1821: undefined reference to `ECDSA_SIG_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec.o): In function `ldns_convert_ecdsa_rrsig_rdf2asn1':
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1844: undefined reference to `ECDSA_SIG_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1846: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1848: undefined reference to `BN_bin2bn'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1855: undefined reference to `i2d_ECDSA_SIG'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1862: undefined reference to `ECDSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1851: undefined reference to `ECDSA_SIG_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec.c:1859: undefined reference to `i2d_ECDSA_SIG'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_dnssec_trust_tree_print_sm_fmt':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:597: undefined reference to `ERR_load_crypto_strings'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:598: undefined reference to `ERR_print_errors_fp'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_gost2pkey_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1831: undefined reference to `d2i_PUBKEY'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_ecdsa2pkey_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1871: undefined reference to `EC_KEY_new_by_curve_name'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1868: undefined reference to `EC_KEY_new_by_curve_name'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1880: undefined reference to `o2i_ECPublicKey'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1884: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1889: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1890: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1891: undefined reference to `EC_KEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1886: undefined reference to `EC_KEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_evp_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2491: undefined reference to `EVP_MD_CTX_init'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2493: undefined reference to `EVP_DigestInit'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2494: undefined reference to `EVP_DigestUpdate'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2497: undefined reference to `EVP_VerifyFinal'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2499: undefined reference to `EVP_MD_CTX_cleanup'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_dsa_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2551: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2552: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2561: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2553: undefined reference to `EVP_dss1'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2561: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_rsasha1_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2573: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2574: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2583: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2575: undefined reference to `EVP_sha1'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2583: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_rsasha256_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2599: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2600: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2609: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2601: undefined reference to `EVP_sha256'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2609: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_rsasha512_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2634: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2635: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2644: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2636: undefined reference to `EVP_sha512'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2644: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_rsamd5_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2669: undefined reference to `EVP_PKEY_new'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2670: undefined reference to `EVP_PKEY_assign'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2679: undefined reference to `EVP_PKEY_free'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2671: undefined reference to `EVP_md5'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:2679: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_ecdsa_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1912: undefined reference to `EVP_sha384'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1914: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_gost_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1849: undefined reference to `EVP_get_digestbyname'
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1851: undefined reference to `EVP_PKEY_free'
>> /home/dns/ldns-1.6.17/lib/libldns.a(dnssec_verify.o): In function `ldns_verify_rrsig_ecdsa_raw':
>> /home/dns/Tools/ldns-1.6.17/./dnssec_verify.c:1911: undefined reference to `EVP_sha256'
>> collect2: error: ld returned 1 exit status
>> configure:10914: $? = 1
>> configure: failed program was:
>> | /* confdefs.h */
>> | #define PACKAGE_NAME "getdns"
>> | #define PACKAGE_TARNAME "getdns"
>> | #define PACKAGE_VERSION "0.1.1"
>> | #define PACKAGE_STRING "getdns 0.1.1"
>> | #define PACKAGE_BUGREPORT "stub-resolver at verisignlabs.com"
>> | #define PACKAGE_URL "http://www.getdnsapi.net"
>> | #define STDC_HEADERS 1
>> | #define HAVE_SYS_TYPES_H 1
>> | #define HAVE_SYS_STAT_H 1
>> | #define HAVE_STDLIB_H 1
>> | #define HAVE_STRING_H 1
>> | #define HAVE_MEMORY_H 1
>> | #define HAVE_STRINGS_H 1
>> | #define HAVE_INTTYPES_H 1
>> | #define HAVE_STDINT_H 1
>> | #define HAVE_UNISTD_H 1
>> | #define HAVE_DLFCN_H 1
>> | #define LT_OBJDIR ".libs/"
>> | /* end confdefs.h. */
>> |
>> | /* Override any GCC internal prototype to avoid an error.
>> | Use char because int might match the return type of a GCC
>> | builtin and then its argument prototype would still apply. */
>> | #ifdef __cplusplus
>> | extern "C"
>> | #endif
>> | char ldns_dname_new_frm_str ();
>> | int
>> | main ()
>> | {
>> | return ldns_dname_new_frm_str ();
>> | ;
>> | return 0;
>> | }
>> configure:10923: result: no
>>
>>
>> _______________________________________________
>> getdns-api mailing list
>> getdns-api at vpnc.org
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.vpnc.org/pipermail/getdns-api/attachments/20140512/7b1b5ce3/attachment-0001.bin>
More information about the getdns-api
mailing list