compilation error 9.4.1 (
Edward Lewis
Ed.Lewis at neustar.biz
Wed Jun 6 18:11:21 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 <...>
/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_ex
...
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.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Edward Lewis +1-571-434-5468
NeuStar
Sarcasm doesn't scale.
More information about the bind-users
mailing list