<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000099">
<small><font face="Verdana">Hello,<br>
</font></small>
<p><small><font face="Verdana">I am trying to add nginx-1.0.5.tar.gz
package to Wind River Linux. The host machine I am using is Ubuntu
10.04. <br>
</font></small></p>
<table class="properties">
<tbody>
<tr>
<th id="h_uname">uname -a: </th>
<td colspan="3" headers="h_uname">Linux TestMachine
2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686
GNU/Linux </td>
</tr>
</tbody>
</table>
<table class="properties">
<tbody>
<tr>
<th id="h_nginx_version">nginx -V: </th>
<td colspan="3" headers="h_nginx_version">nginx: nginx version:
nginx/1.0.5 nginx: built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5) nginx:
configure arguments:
--with-pcre=/home/user/workspace/Test/build/INSTALL_STAGE/pcre-7.8/../../pcre-7.8/BUILD/pcre-7.8
--with-zlib=/home/user/workspace/Test/build/INSTALL_STAGE/zlib-1.2.5/../../zlib-1.2.5/BUILD/zlib-1.2.5
</td>
</tr>
</tbody>
</table>
<p><small><font face="Verdana">Nginx package got compiled and it
created install directories and files in /usr/local/nginx folder.<br>
But during the final creation of kernel image and RFS we are getting
below error. <br>
</font></small></p>
<p><small><font face="Verdana">Installing RPMs into filesystem directory<br>
Preparing... ##################################################<br>
setup ##################################################<br>
error: Failed dependencies:<br>
libcrypto.so.0.9.8 is needed by nginx-1.0.5-1_WR4.1.0.0.x86_64<br>
libcrypto.so.0.9.8(OPENSSL_0.9.8) is needed by
nginx-1.0.5-1_WR4.1.0.0.x86_64<br>
</font></small></p>
<p><small><font face="Verdana">I got this this error after adding
'libssl-dev' package to our Ubuntu machine through apt-get. Before
adding this package Wind River kernel image and RFS is created
successfully. <br>
</font></small></p>
<p><small><font face="Verdana">On analysis I found that in
nginx-1.0.5\objs\ngx_auto_config.h, following addtional #defines are
setting in the not working source code<br>
#ifndef NGX_OPENSSL_MD5<br>
#define NGX_OPENSSL_MD5 1<br>
#endif<br>
</font></small></p>
<p><small><font face="Verdana">#ifndef NGX_HAVE_OPENSSL_MD5_H<br>
#define NGX_HAVE_OPENSSL_MD5_H 1<br>
#endif<br>
</font></small></p>
<p><small><font face="Verdana">#ifndef NGX_HAVE_MD5<br>
#define NGX_HAVE_MD5 1<br>
#endif<br>
</font></small></p>
<p><small><font face="Verdana">#ifndef NGX_HAVE_SHA1<br>
#define NGX_HAVE_SHA1 1<br>
#endif<br>
</font></small></p>
<p><small><font face="Verdana">#ifndef NGX_HAVE_OPENSSL_SHA1_H<br>
#define NGX_HAVE_OPENSSL_SHA1_H 1<br>
#endif<br>
</font></small></p>
<p><small><font face="Verdana">Could you please tell me what could be
the issue. Does nginx looks for the libssl-dev/openssl/libcrypto
library versions of host machine during configuration and compilation.<br>
</font></small></p>
<p><small><font face="Verdana">Regards<br>
Sivan<br>
</font></small></p>
<small><font face="Verdana"><br>
</font></small>
<font face="monospace"></font></body>
</html>