From: Raileanu G Subject: Re: bind 9.2.3 error compile with OpenSSL Date: Fri, 7 Nov 2003 01:07:01 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20031107010701.1302d016.grisha@webmedia.md> References: <20031106175950.4324de42.grisha@webmedia.md> <20031106201303.22382f23.grisha@webmedia.md> <20031106225330.GA12923@gx.nl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20031106225330.GA12923@gx.nl> List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org On Thu, 6 Nov 2003 23:53:30 +0100 Stefan Wimmer wrote: > * 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 > - > To unsubscribe from this list: send the line "unsubscribe linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > OK. If i don`t need support for kerberos ? -- Best wishes and kind regards, Raileanu Grigore.