compilation error 9.4.1 (
Mark Andrews
Mark_Andrews at isc.org
Wed Jun 6 23:21:17 UTC 2007
> Any words of advice in compiling BIND 9.4.1?
>
> On a MacOS X (latest) machine:
>
> Get and build the latest OpenSSL
>
> 1) tar -zxf openssl-0.9.8e.tar.gz
> 2) cd openssl-0.9.8e
> 3) ./config
> 4) make
> 5) make test
> 6) make install
>
> Get and build the latest BIND
>
> 7) tar -xzf bind-9.4.1.tar.gz
> 8) cd bind-9.4.1
> 9) ./configure --with-openssl=/usr/local/ssl
>
> The error while doing a make:
>
> 10) make
>
> gcc -g -O2 -o named <...> -L/usr/local/ssl/lib -lcrypto <...>
Ed, quote the complete command line.
> /usr/bin/ld: Undefined symbols:
> _DH_generate_parameters_ex
> _DSA_generate_parameters_ex
> _RSA_generate_key_ex
>
> Looking to see if they are in the library in the compile/load
> command, just to make sure the right library is being updated:
>
> 11) find /usr/local/ssl/ -type f -print | xargs grep DH_generate_parameters_e
> x
> ...
> Binary file /usr/local/ssl/lib/libcrypto.a matches
>
> How many libcrypto's are on my machine and how old are they?
>
> 12) sudo find / -name libcrypto.a -print | xargs ls -lF
> Password:
> ...2240896 Apr 25 2005 /opt/local/lib/libcrypto.a
> ...2240896 Apr 25 2005 /opt/local/var/db/dports/software/openssl/
> 0.9.7e_0/opt/local/lib/libcrypto.a
> ...2239552 Mar 2 2005 /usr/local/src/openssl-0.9.7e/libcrypto.a
> ...2685128 Jun 6 09:15 /usr/local/src/openssl-0.9.8e/libcrypto.a
> ...2685128 Jun 6 09:21 /usr/local/ssl/lib/libcrypto.a
>
> Looks like the libcrypto.a pointed to in the compile/load command is
> the right (as in intended) one.
-L create a search list. What other -L's are the on the
command line?
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Edward Lewis +1-571-434-5468
> NeuStar
>
> Sarcasm doesn't scale.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list