configure error

Igor Sysoev igor на sysoev.ru
Пт Апр 2 16:03:18 MSD 2010


On Fri, Apr 02, 2010 at 03:52:41PM +0400, Eugene Toropov wrote:

> RHEL5: Linux 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 
> x86_64 x86_64 GNU/Linux

А прилагаемый патч помогает ?

> Евгений
> jt at aaanet.ru
> 
> 
> > On Fri, Apr 02, 2010 at 03:08:49PM +0400, Eugene Toropov wrote:
> >
> >> Добрый день,
> >>
> >> [********** nginx-0.7.65]$ 
> >> ./configure --user=nobody --group=www --without-poll_module --without-select_module 
> >>  --with-http_stub_status_module --without-http_fastcgi_module --without-mail_pop3_module 
> >>  --without-mail_imap_module --without-mail_smtp_module --with-pcre=../pcre-8.02 
> >>  --add-module=../nginx_uploadprogress_module --with-http_ssl_module --prefix=/usr/local/nginx 
> >>  --with-openssl=../openssl-1.0.0
> >>
> >> ...
> >>         objs/src/http/modules/ngx_http_memcached_module.o \
> >>         objs/src/http/modules/ngx_http_empty_gif_module.o \
> >>         objs/src/http/modules/ngx_http_browser_module.o \
> >>         objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
> >>         objs/src/http/modules/ngx_http_stub_status_module.o \
> >> 
> >> objs/addon/nginx_uploadprogress_module/ngx_http_uploadprogress_module.o \
> >>         objs/ngx_modules.o \
> >>         -lcrypt ../pcre-8.02/.libs/libpcre.a 
> >> ../openssl-1.0.0/.openssl/lib/libssl.a 
> >> ../openssl-1.0.0/.openssl/lib/libcrypto.a -ldl -lz
> >> gcc: ../openssl-1.0.0/.openssl/lib/libssl.a: No such file or directory
> >> gcc: ../openssl-1.0.0/.openssl/lib/libcrypto.a: No such file or directory
> >> make[1]: *** [objs/nginx] Error 1
> >> make[1]: Leaving directory `/home/skoosh5/dist/nginx/nginx-0.7.65'
> >> make: *** [build] Error 2
> >>
> >> Как ему задать правильный путь ../openssl-1.0.0/.openssl/lib64 ?
> >
> > Какая ОС ? У меня на FreeBSD/amd64 ставится в lib.


-- 
Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: auto/lib/openssl/conf
===================================================================
--- auto/lib/openssl/conf	(revision 2810)
+++ auto/lib/openssl/conf	(working copy)
@@ -29,8 +29,8 @@
 
             CORE_INCS="$CORE_INCS $OPENSSL/.openssl/include"
             CORE_DEPS="$CORE_DEPS $OPENSSL/.openssl/include/openssl/ssl.h"
-            CORE_LIBS="$CORE_LIBS $OPENSSL/.openssl/lib/libssl.a"
-            CORE_LIBS="$CORE_LIBS $OPENSSL/.openssl/lib/libcrypto.a"
+            CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a"
+            CORE_LIBS="$CORE_LIBS $OPENSSL/libcrypto.a"
             CORE_LIBS="$CORE_LIBS $NGX_LIBDL"
         ;;
     esac


Подробная информация о списке рассылки nginx-ru