Re: compile error bind-9.7.2-P3 osx 10.5.8 ppc
On Feb 8, 2011, at 8:43 PM, donovan jeffrey j wrote: greetings i was able to update ssl to OpenSSL 1.0.0c 2 Dec 2010 when i try and recompile bind I get an error on make Undefined symbols: "_RSA_generate_key_ex", referenced from: _opensslrsa_generate in libdns.a(opensslrsa_link.o) "_DSA_generate_parameters_ex", referenced from: _openssldsa_generate in libdns.a(openssldsa_link.o) "_DH_generate_parameters_ex", referenced from: _openssldh_generate in libdns.a(openssldh_link.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [named] Error 1 make[1]: *** [subdirs] Error 1 make: *** [subdirs] Error 1 Remember that MacOS X includes OpenSSL. Are you really updating the version on OpenSSL supplied by Apple, or are you installing a second, and newer, version of OpenSSL in a different directory? Where did you install the OpenSSL package? Did you use the defaults, which installs in /usr/local/ssl? What configure option(s) did you use when building BIND? Did you explicitly state "--with-openssl"? The default, not specifying "with- openssl", will use Apple's OpenSSL, which is OpenSSL 0.9.7, not OpenSSL 1. I ***just*** successfully built BIND 9.7.2-P3 with OpenSSL 1.0.0.c. I am also running MacOS X 10.5.8, but on an Intel machine rather than PPC. My added OpenSSL was installed in it's default location, /usr/ local/ssl. The configure command for building BIND was "./configure -- with-openssl=/usr/local/ssl". Note that I explicitly specified the path for OpenSSL to avoid using the Apple supplied version of OpenSSL. Bill Larson ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: compile error bind-9.7.2-P3 osx 10.5.8 ppc
In message <74303900-b549-4bd3-a4ed-e7ae8f838...@beth.k12.pa.us>, donovan jeffr ey j writes: > greetings > > i was able to update ssl to OpenSSL 1.0.0c 2 Dec 2010 > when i try and recompile bind I get an error on make > > Undefined symbols: > "_RSA_generate_key_ex", referenced from: > _opensslrsa_generate in libdns.a(opensslrsa_link.o) > "_DSA_generate_parameters_ex", referenced from: > _openssldsa_generate in libdns.a(openssldsa_link.o) > "_DH_generate_parameters_ex", referenced from: > _openssldh_generate in libdns.a(openssldh_link.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[2]: *** [named] Error 1 > make[1]: *** [subdirs] Error 1 > make: *** [subdirs] Error 1 Make sure you build shared libraries when you build openssl. OSX's linker prefers shared libraries over static libraries and as the system's libraries are shared the static ones are skipped. > ___ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
compile error bind-9.7.2-P3 osx 10.5.8 ppc
greetings i was able to update ssl to OpenSSL 1.0.0c 2 Dec 2010 when i try and recompile bind I get an error on make Undefined symbols: "_RSA_generate_key_ex", referenced from: _opensslrsa_generate in libdns.a(opensslrsa_link.o) "_DSA_generate_parameters_ex", referenced from: _openssldsa_generate in libdns.a(openssldsa_link.o) "_DH_generate_parameters_ex", referenced from: _openssldh_generate in libdns.a(openssldh_link.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [named] Error 1 make[1]: *** [subdirs] Error 1 make: *** [subdirs] Error 1 ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users