<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you very much for that. It did the trick and I was able to build
easily then.<br>
<br>
My next problem seems to be that SSL doesn't want to work. Here is my
conf that I'm testing with - I have another server on port 443 so I'm
testing on 1443 here. But I cannot connect - just says connecting and
then never seems to get it. Nginx is werving fine on non-ssl though. No
messages in error log but at first it said cannot bind as I mistakenly
tried using port 443. Then I changed that.<br>
<br>
If you see anything obvious here please let me know as I plug away on
it.<br>
Chris :)<br>
<small><br>
server {<br>
ššššššš listenš 74.223.185.26:1443;<br>
ššššššš server_nameš mydomain.com <a class="moz-txt-link-abbreviated" href="http://www.mydomain.com">www.mydomain.com</a> n1.mydomain.com;<br>
ššššššš rootššš /var/www/mydomain/adminX;<br>
<br>
ššššššš sslššššššššššššššššš on;<br>
ššššššš ssl_certificateššššš /var/local/ssl/certs/wild.mydomain.crt;<br>
ššššššš ssl_certificate_keyš /var/local/ssl/private/wild.mydomain.key;<br>
<br>
ššššššš ssl_session_timeoutš 5m;<br>
<br>
ššššššš ssl_protocolsš SSLv2 SSLv3 TLSv1;<br>
ššššššš ssl_ciphersš
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;<br>
ššššššš ssl_prefer_server_ciphersšš on;<br>
<br>
ššš ššš location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; include
fastcgi_params; }<br>
ššš }</small><br>
<br>
<br>
Igor Sysoev wrote:
<blockquote cite="mid:20080815154451.GA75360@rambler-co.ru" type="cite">
  <pre wrap="">On Fri, Aug 15, 2008 at 07:58:01PM +0700, Chris Savery wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I have successfully built and tested nginx on Ubuntu at home and want to 
now test it on my real server running Centos 5. I can build without ssl 
option fine and it all works.

Now I want to build with ssl. I have provided the correct options afaik 
and it configures ok but during the build it gives the errors below 
(actually a huge list of linker errors but I cut just the first bit):

-- snip snip --
   objs/src/http/modules/ngx_http_browser_module.o \
   objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
   objs/ngx_modules.o \
   -lcrypt -lpcre /usr/lib/libssl.a /usr/lib/libcrypto.a -ldl -lz
/usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew':
(.text+0x111): undefined reference to `krb5_rc_default'
/usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew':
(.text+0x12c): undefined reference to `krb5_rc_initialize'
/usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew':
-- snip snip --

Here is the configure line:
./configure --with-openssl=/usr/lib --with-http_ssl_module 
--conf-path=/etc/nginx/nginx.conf --with-md5=auto/lib/md5 
--with-sha1=auto/lib/sha1

seems like something wrong between krb5 and openssl. I checked that both 
were updated with yum but I don't know what to look at next.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
--with-openssl=, --with-md5=, and --with-sha1= must point to directory with
library sources. Remove them: nginx's configure will find all by itself.


  </pre>
</blockquote>
<br>
</body>
</html>