linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bind 9.2.3 error compile with OpenSSL
       [not found] ` <20031106175950.4324de42.grisha@webmedia.md>
@ 2003-11-06 18:13   ` Raileanu G
  2003-11-06 22:53     ` Stefan Wimmer
  0 siblings, 1 reply; 5+ messages in thread
From: Raileanu G @ 2003-11-06 18:13 UTC (permalink / raw)
  To: linux-admin

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 ?
 
Thanks.


-- 
Best wishes and kind regards, Raileanu Grigore.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bind 9.2.3 error compile with OpenSSL
       [not found] <SERVERIXYev6hNo6j3w0000071c@server.onewaveinc.com>
@ 2003-11-06 19:05 ` Raileanu G
  0 siblings, 0 replies; 5+ messages in thread
From: Raileanu G @ 2003-11-06 19:05 UTC (permalink / raw)
  To: lyxmoo; +Cc: linux-admin

On Fri, 7 Nov 2003 2:32:23 +0800
"lyxmoo" <mougx@onewaveinc.com> wrote:

> bind9-users>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/local/lib:/usr/local/ssl/lib:/usr/lib
> 
> >What may be problem ?
> 
> IMO: there's sth mystery  in openssl lib, so you should prefer CFLAGS=""
> 
> or compile without openssl enabled.
> 
> openssl lib do not support machine type you prefered in CFLAGS? i'm not sure abt this.
> 
> Best Regards lyxmoo
> 
> 
> 
> 
> 
> 
> 

I need support of OpenSSL for DNSSEC.
Problem is not in CFLAGS.
Thanks
 
Best wishes and kind regards, Raileanu Grigore.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bind 9.2.3 error compile with OpenSSL
  2003-11-06 18:13   ` bind 9.2.3 error compile with OpenSSL Raileanu G
@ 2003-11-06 22:53     ` Stefan Wimmer
  2003-11-06 23:07       ` Raileanu G
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Wimmer @ 2003-11-06 22:53 UTC (permalink / raw)
  To: linux-admin

* Raileanu G <grisha@webmedia.md> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bind 9.2.3 error compile with OpenSSL
  2003-11-06 22:53     ` Stefan Wimmer
@ 2003-11-06 23:07       ` Raileanu G
  2003-11-06 23:28         ` Stefan Wimmer
  0 siblings, 1 reply; 5+ messages in thread
From: Raileanu G @ 2003-11-06 23:07 UTC (permalink / raw)
  To: linux-admin

On Thu, 6 Nov 2003 23:53:30 +0100
Stefan Wimmer <swimmer@gx.nl> wrote:

> * Raileanu G <grisha@webmedia.md> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bind 9.2.3 error compile with OpenSSL
  2003-11-06 23:07       ` Raileanu G
@ 2003-11-06 23:28         ` Stefan Wimmer
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Wimmer @ 2003-11-06 23:28 UTC (permalink / raw)
  To: linux-admin

* Raileanu G <grisha@webmedia.md> wrote on 07/Nov/2003 - 01:07:01 :
>> 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
> 
> OK. If i don`t need support for kerberos ?
> 
> -- 
> Best wishes and kind regards, Raileanu Grigore.

Ok - sorry I was not very clear :(

I found this on the internet while I tried to compile some application 
which needed OpenSSL:

:Quote on:
To compile against OpenSSL 0.9.7 you need to use the pkg-config support where
available; e.g. add `pkg-config --cflags openssl` to CFLAGS and `pkg-config
--libs openssl` to LIBS.
:Quote off:

I was so stupid to give you the output of the pkg-config of my system :(
Just try yours and see what happens ...

Success
Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-11-06 23:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ecartis-11062003153519.19626.1@isc.org>
     [not found] ` <20031106175950.4324de42.grisha@webmedia.md>
2003-11-06 18:13   ` bind 9.2.3 error compile with OpenSSL Raileanu G
2003-11-06 22:53     ` Stefan Wimmer
2003-11-06 23:07       ` Raileanu G
2003-11-06 23:28         ` Stefan Wimmer
     [not found] <SERVERIXYev6hNo6j3w0000071c@server.onewaveinc.com>
2003-11-06 19:05 ` Raileanu G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).