<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
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. <br>
<br>
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):<br>
<br>
-- snip snip --<br>
&nbsp;&nbsp;&nbsp; objs/src/http/modules/ngx_http_browser_module.o \<br>
&nbsp;&nbsp;&nbsp; objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \<br>
&nbsp;&nbsp;&nbsp; objs/ngx_modules.o \<br>
&nbsp;&nbsp;&nbsp; -lcrypt -lpcre /usr/lib/libssl.a /usr/lib/libcrypto.a -ldl -lz<br>
/usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew':<br>
(.text+0x111): undefined reference to `krb5_rc_default'<br>
/usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew':<br>
(.text+0x12c): undefined reference to `krb5_rc_initialize'<br>
/usr/lib/libssl.a(kssl.o): In function `get_rc_clockskew':<br>
-- snip snip --<br>
<br>
Here is the configure line:<br>
&nbsp;./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<br>
<br>
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.<br>
<br>
Any suggestions gratefully requested.<br>
<br>
Thanks,<br>
Chris :)<br>
</font>
</body>
</html>