Re: bind 9.2.3 error compile with OpenSSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Raileanu G <grisha@xxxxxxxxxxx> 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
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux