From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Wimmer Subject: Re: bind 9.2.3 error compile with OpenSSL Date: Thu, 6 Nov 2003 23:53:30 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20031106225330.GA12923@gx.nl> References: <20031106175950.4324de42.grisha@webmedia.md> <20031106201303.22382f23.grisha@webmedia.md> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20031106201303.22382f23.grisha@webmedia.md> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-admin@vger.kernel.org * Raileanu G wrote on 06/Nov/2003 - 08:13:03 : > I tryed compile bind 9.2.23 on slackware 9.1, OpenSSL 0.9.7c, with parameters: > > CC="gcc" \ > CFLAGS="-O3 -march=i686 -funroll-loops -fomit-frame-pointer" \ > ./configure \ > --prefix=/usr \ > --exec-prefix=/usr \ > --sysconfdir=/etc \ > --localstatedir=/var \ > --libexecdir=/usr/libexec/named \ > --with-openssl=/usr \ > --with-libtool \ > --disable-ipv6 \ > --enable-threads > > and get the follow error: > ########################### > checking for OpenSSL library... using openssl from /usr/lib and /usr/include > checking whether linking with OpenSSL works... no > configure: error: Could not run test program using OpenSSL from > /usr/lib and /usr/include. > Please check the argument to --with-openssl and your > shared library configuration (e.g., LD_LIBRARY_PATH). > ########################### > > I have set LD_LIBRARY_PATH. > LD_CONFIG_PATH=/usr/lib > > What may be problem ? With OpenSSL 0.9.7 you have to prepend CFLAGS="-I/usr/kerberos/include" LIBS="-L/usr/kerberos/lib -lssl -lcrypto -lresolv -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldl -lz" to ./configure Greetz Stefan