compile error bind-9.7.2-P3 osx 10.5.8 ppc

Bill Larson wllarso.dns at gmail.com
Wed Feb 9 16:09:51 UTC 2011


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



More information about the bind-users mailing list