Cannot make on Centos 5 with SSL

Chris Savery chrissavery at gmail.com
Fri Aug 15 16:58:01 MSD 2008


Hello,

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.

Any suggestions gratefully requested.

Thanks,
Chris :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080815/36f5be27/attachment.html>


More information about the nginx mailing list