Compiling BIND 9.4.2-P2

SUN Guonian sun at cnnic.cn
Wed Jul 9 09:11:34 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Holger Honert wrote:
| Hi Andy,
| I have tried either, the same results and of course its 9.4.2-P1 (sorry
| for the typo).
|
| Additionally I have also tried --with-openssl=/usr/include with no
success.
|
| btw:   --with-openssl=PATH   Build with OpenSSL yes|no|path.
|                           (Required for DNSSEC)
maybe your openssl install path has some negative affect.

here is an example for reference:
# cd openssl-0.9.8h
# sh ./config
# make
# make install

it will install openssl to the tree /usr/local/ssl/, and one of the lib
file "libcrypto.a" is under /usr/local/ssl/lib/

# nm /usr/local/ssl/lib/libcrypto.a |grep DH_generate_parameters_ex
00000000 T DH_generate_parameters_ex
~         U DH_generate_parameters_ex

then, compile BIND 9.4.2-P1
# ./configure --with-openssl=/usr/local/ssl --enable-threads
# make
# make install
...

only for check if need
# grep DNS_CRYPTO_LIBS config.log
DNS_CRYPTO_LIBS=' -L/usr/local/ssl/lib -lcrypto -ldl '

|
| Regards
|
| Holger
|
| Andy Shellam schrieb:
|> Hi Holger
|>
|> Quoting Holger Honert <holger.honert at signal-iduna.org>:
|>
|>> Hi List,
|>> I am trying to compile the latest Version with openssl-0.9.8h like this:
|>>
|>> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|>> --mandir=/usr/share/man --with-openssl=yes --with-libtool --disable-ipv6
|>> --enable-threads
|> Try setting your OpenSSL directive to --with-openssl=/usr.
|> The argument to --with-openssl has to be a file system directory if
|> I'm not mistaken.
|>
|>> No complaining while running ./configure but when running make:
|>>
|>> ../../lib/dns/.libs/libdns.so: undefined reference to
|>> `DH_generate_parameters_ex'
|>> ../../lib/dns/.libs/libdns.so: undefined reference to
|>> `DSA_generate_parameters_ex'
|>> ../../lib/dns/.libs/libdns.so: undefined reference to
|>> `RSA_generate_key_ex'
|>> collect2: ld returned 1 exit status
|>> make[2]: *** [named] Error 1
|>> make[2]: Leaving directory `/tmp/bind-9.4.2-P1/bin/named'
|>> make[1]: *** [subdirs] Error 1
|>> make[1]: Leaving directory `/tmp/bind-9.4.2-P1/bin'
|>> make: *** [subdirs] Error 1
|> Regards,
|>
|> Andy
|>
|>
|
|
|
| SIGNAL Krankenversicherung a. G.
| Sitz: Dortmund, HR B 2405 AG Dortmund, Ust-IdNr. DE 124906350
| IDUNA Vereinigte Lebensversicherung aG fur Handwerk, Handel und Gewerbe
| Sitz: Hamburg, HR B 2740 AG Hamburg, Ust-IdNr. DE 118617622
| SIGNAL Unfallversicherung a. G.
| Sitz: Dortmund, HR B 2220, AG Dortmund, Ust-IdNr. DE 124906341
| SIGNAL IDUNA Allgemeine Versicherung AG
| Sitz: Dortmund, HR B 19108, AG Dortmund, Ust-IdNr. DE 118617622
|
| Vorstande:
| Reinhold Schulte (Vorsitzender), Dr. Karl-Josef Bierth, Michael Johnigk,
| Ulrich Leitermann, Michael Petmecky, Dr. Klaus Sticker, Vorsitzender der
| Aufsichtsrate: Gunter Kutz
|
| SIGNAL IDUNA Gruppe Hauptverwaltungen, Internet: www.signal-iduna.de,
| E-Mail: info at signal-iduna.de
|
| 44121 Dortmund, Hausanschrift: Joseph-Scherer-Str. 3, 44139 Dortmund,
| Telefon: (02 31) 1 35-0, Telefax: (02 31) 1 35-46 38
|
| 20351 Hamburg, Hausanschrift: Neue Rabenstra?e 15-19, 20354 Hamburg,
| Telefon: (0 40) 41 24-0, Telefax: (0 40) 41 24-29 58
|
|
|
|


- --
******************************************************
* China Internet Network Information Center (CNNIC)  *
*   SUN Guonian                     No.4, S.4 Street *
* Phone: +86-10-58813016            Zhong Guan Cun   *
* Email: sun at cnnic.cn               Haidian District *
* http://www.cnnic.cn/              Beijing          *
* http://www.sunguonian.cn/         Postcode: 100080 *
*   mail at sunguonian.cn                               *
******************************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdIDGkxxlPmOq+E0RApvEAKCBOpbn5t8tMKeRgnXbZujHZSKnVACeJcF2
hQScA2pOU1oL2ubtL8Sd0Ns=
=qfe7
-----END PGP SIGNATURE-----


More information about the bind-users mailing list