Welcome! Log In Create A New Profile

Advanced

Re: error: Failed dependencies: libcrypto.so.0.9.8 is needed by nginx-1.0.5-1_WR4.1.0.0.x86_64

October 17, 2011 04:06AM
On Oct 17, 2011, at 8:52 , Sivaprasad CG wrote:

> Hello,
> 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.
>
> uname -a: Linux TestMachine 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux
> nginx -V: 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
> Nginx package got compiled and it created install directories and files in /usr/local/nginx folder.
> But during the final creation of kernel image and RFS we are getting below error.
>
> Installing RPMs into filesystem directory
> Preparing... ##################################################
> setup ##################################################
> error: Failed dependencies:
> libcrypto.so.0.9.8 is needed by nginx-1.0.5-1_WR4.1.0.0.x86_64
> libcrypto.so.0.9.8(OPENSSL_0.9.8) is needed by nginx-1.0.5-1_WR4.1.0.0.x86_64
>
> 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.
>
> 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
> #ifndef NGX_OPENSSL_MD5
> #define NGX_OPENSSL_MD5 1
> #endif
>
> #ifndef NGX_HAVE_OPENSSL_MD5_H
> #define NGX_HAVE_OPENSSL_MD5_H 1
> #endif
>
> #ifndef NGX_HAVE_MD5
> #define NGX_HAVE_MD5 1
> #endif
>
> #ifndef NGX_HAVE_SHA1
> #define NGX_HAVE_SHA1 1
> #endif
>
> #ifndef NGX_HAVE_OPENSSL_SHA1_H
> #define NGX_HAVE_OPENSSL_SHA1_H 1
> #endif
>
> 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.
>
Yes, nginx looks for OpenSSL library to use MD5 and SHA1 OpenSSL functions.


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

error: Failed dependencies: libcrypto.so.0.9.8 is needed by nginx-1.0.5-1_WR4.1.0.0.x86_64

Sivaprasad CG 1379 October 17, 2011 12:50AM

Re: error: Failed dependencies: libcrypto.so.0.9.8 is needed by nginx-1.0.5-1_WR4.1.0.0.x86_64

Igor Sysoev 1078 October 17, 2011 04:06AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 85
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready