# Nginx-0.8.51

**URL:** <https://www.ruby-forum.com/t/nginx-0-8-51/195646>\
**Category:** NGINX\
**Created:** [September 27, 2010, 3:42pm UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646 "2010-09-27T15:42:32Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 27, 2010, 3:42pm UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/1 "2010-09-27T15:42:32Z")

</div>

Changes with nginx 0.8.51 27 Sep  
2010

```
*) Change: the "secure_link_expires" directive has been canceled.

*) Change: a logging level of resolver errors has been lowered from
   "alert" to "error".

*) Feature: now a listen socket "ssl" parameter may be set several
   times.

```

–  
Igor S.  
[http://sysoev.ru/en/](http://sysoev.ru/en/)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 1:26am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/2 "2010-09-28T01:26:15Z")

</div>

Why cancel the “secure\_link\_expires” directive ?

2010/9/27 Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 12:11am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/3 "2010-09-28T00:11:51Z")

</div>

After I upgraded nginx today to 0.8.5 whenever I start the nginx  
service, I get this error:

Starting nginx: Can’t load ‘/usr/lib/perl5/auto/nginx/nginx.so’ for  
module nginx: /usr/lib/perl5/auto/nginx/nginx.so: undefined symbol:  
ngx\_http\_core\_module at /usr/lib/perl5/XSLoader.pm line 70.  
at /usr/lib/perl5/nginx.pm line 54  
Compilation failed in require.  
BEGIN failed–compilation aborted.  
[alert]: perl\_parse() failed: 255

I’m running Fedora Core 13 and I installed nginx using an RPM I built  
with the attached spec file though I’m including the SRPM which might be  
useful.

Any help in getting nginx working again would be greatly appreciated.

–

omega13a  
Owner and Founder of UFT  
[http://www.fedtrek.com](http://www.fedtrek.com)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 1:57am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/4 "2010-09-28T01:57:16Z")

</div>

I have known the reason.

2010/9/28 lhmwzy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 3:09am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/5 "2010-09-28T03:09:49Z")

</div>

Oh, Yes! It is a “Stable version” !!!

Thank you , igor !

2010/9/28 lhmwzy [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 3:19am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/6 "2010-09-28T03:19:11Z")

</div>

Have you try to upgrading or repairing your perl modules?  
Installing nginx manually is more fun. 🙂

Regards,  
Joe

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 4:24am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/7 "2010-09-28T04:24:08Z")

</div>

On 09/27/2010 06:18 PM, Joe wrote:

> Have you try to upgrading or repairing your perl modules?  
> No and don’t know how though nginx 0.8.50 runs perfectly fine (I  
> downgraded to see). If its a problem with the perl modules I think  
> 0.8.50 would be effected as well since the spec file I used to build  
> nginx 0.8.50 is nearly identical to the one I used to build nginx  
> 0.8.51.  
> Installing nginx manually is more fun. 🙂  
> Not possible when you run a small yum repo.

–  
omega13a  
Owner and Founder of UFT  
[http://www.fedtrek.com](http://www.fedtrek.com)

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 8:53am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/8 "2010-09-28T08:53:18Z")

</div>

On Mon, Sep 27, 2010 at 06:56:29PM -0700, Xin LI wrote:

> host name, the HTTP service would break (asking for SSL certificate, log  
> says: no “ssl\_certificate” is defined in server listening on SSL port  
> while SSL handshaking, client: 67.195.111.174, server: 0.0.0.0:80).
> 
> I think it is a bug, the problem is that when SSL support is compiled  
> in, all HTTP servers would be considered as SSL since their opt.set is 1.
> 
> Attached patch should fix the problem (I am not very familiar with the  
> code though).

The attched patch fixes the bug.

> Thanks for your work on nginx! 🙂

Thanks for your work on FreeBSD! 🙂

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [September 28, 2010, 3:57am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/9 "2010-09-28T03:57:48Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA256

Hi,

On 2010/09/27 06:41, Igor S. wrote:

> ```
> *) Feature: now a listen socket "ssl" parameter may be set several 
> times.
> 
> ```

It seems that when one have both HTTP and HTTPS service under the same  
host name, the HTTP service would break (asking for SSL certificate, log  
says: no “ssl\_certificate” is defined in server listening on SSL port  
while SSL handshaking, client: 67.195.111.174, server: 0.0.0.0:80).

I think it is a bug, the problem is that when SSL support is compiled  
in, all HTTP servers would be considered as SSL since their opt.set is  
1.

Attached patch should fix the problem (I am not very familiar with the  
code though).

Thanks for your work on nginx! 🙂

Cheers,

* * *

Xin LI [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)[http://www.delphij.net/](http://www.delphij.net/)  
FreeBSD - The Power to Serve! Live free or die  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAEBCAAGBQJMoUtNAAoJEATO+BI/yjfBgWkIAIGzkjoFuS7Ig42GZSfT1rhU  
8ZyryQLNVWMBXXhoEdV4sd/eu9hLOn19nc+bO8xr/KJUwTJOD5x3MsX/OWxf7X2Q  
pKdNhvkEYL7XhdZNydjgH44MWBEx49dHQMB1N7W0SIZyNZQ2ylI1M0+YF+tlE9cl  
5glOPUKsLnv77gNq2dU5RVUt5b1ihPxEZ3SXdwVnxZgp4tfnZmczc16rFbsZpjfB  
WCaGGhM19wcwAV6j1hPbO09Ror4Q7m5ebuszpi49JhSBE5WEiTLrSuFMwHA4rA0E  
Nz1eB8I/j+DL2iXGJP/Tzl9TUDfhiZ3Xv1BIG1pyXGbDY4rjahW/KRUa/wZiCNA=  
=pXjW  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [October 14, 2010, 10:57am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/10 "2010-10-14T10:57:26Z")

</div>

Hello!

On Thu, Oct 14, 2010 at 04:50:07AM -0400, moorthi wrote:

> hi,  
> i have centos 5.2 64bit working system, i am able to install 32bit rpm  
> on 32 bit machine working fine(nginx version 0.8.52 all 0.8 versions  
> tried with http perl modulue), but on 64 bit compilation/installation  
> works but perl -e ‘use nginx’ giving the error, all perl modules are  
> working fine(it’s a production mc).

‘use nginx’ isn’t expected to succeed outside of nginx process.

Maxim D.

---

<div class="post-metadata">

**Author:** ![imixaly4](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Post date:** [October 14, 2010, 10:51am UTC](https://www.ruby-forum.com/t/nginx-0-8-51/195646/11 "2010-10-14T10:51:11Z")

</div>

hi,  
i have centos 5.2 64bit working system, i am able to install 32bit rpm  
on 32 bit machine working fine(nginx version 0.8.52 all 0.8 versions  
tried with http perl modulue), but on 64 bit compilation/installation  
works but perl -e ‘use nginx’ giving the error, all perl modules are  
working fine(it’s a production mc).

perl -V output  
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:  
Platform:  
osname=linux, osvers=2.6.18-53.el5,  
archname=x86\_64-linux-thread-multi  
uname=‘linux [builder10.centos.org](http://builder10.centos.org) 2.6.18-53.el5 #1 smp mon nov 12  
02:14:55 est 2007 x86\_64 x86\_64 x86\_64 gnulinux ’  
config\_args=’-des -Doptimize=-O2 -g -pipe -Wall  
-Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions -fstack-protector  
–param=ssp-buffer-size=4 -m64 -mtune=generic -Dversion=5.8.8  
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf\_by=Red  
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64  
/lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.8  
-Dsitelib=/usr/lib/perl5/site\_perl/5.8.8  
-Dvendorlib=/usr/lib/perl5/vendor\_perl/5.8.8  
-Darchlib=/usr/lib64/perl5/5.8.8/x86\_64-linux-thread-multi  
-Dsitearch=/usr/lib64/perl5/site\_perl/5.8.8/x86\_64-linux-thread-multi  
-Dvendorarch=/usr/lib64/perl5/vendor\_perl/5.8.8/x86\_64-linux-thread-multi  
-Darchname=x86\_64-linux-thread-multi -Dvendorprefix=/usr  
-Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads  
-Duselargefiles -Dd\_dosuid -Dd\_semctl\_semun -Di\_db -Ui\_ndbm -Di\_gdbm  
-Di\_shadow -Di\_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n  
-Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr  
-Dd\_gethostent\_r\_proto -Ud\_endhostent\_r\_proto -Ud\_sethostent\_r\_proto  
-Ud\_endprotoent\_r\_proto -Ud\_setprotoent\_r\_proto -Ud\_endservent\_r\_proto  
-Ud\_setservent\_r\_proto -Dinc\_version\_list=5.8.7 5.8.6 5.8.5  
-Dscriptdir=/usr/bin’  
hint=recommended, useposix=true, d\_sigaction=define  
usethreads=define use5005threads=undef useithreads=define  
usemultiplicity=define  
useperlio=define d\_sfio=undef uselargefiles=define usesocks=undef  
use64bitint=define use64bitall=define uselongdouble=undef  
usemymalloc=n, bincompat5005=undef  
Compiler:  
cc=‘gcc’, ccflags =‘-D\_REENTRANT -D\_GNU\_SOURCE -fno-strict-aliasing  
-pipe -Wdeclaration-after-statement -I/usr/local/include  
-D\_LARGEFILE\_SOURCE -D\_FILE\_OFFSET\_BITS=64 -I/usr/include/gdbm’,  
optimize=‘-O2 -g -pipe -Wall -Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions  
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic’,  
cppflags=‘-D\_REENTRANT -D\_GNU\_SOURCE -fno-strict-aliasing -pipe  
-Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm’  
ccversion=‘’, gccversion=‘4.1.2 20080704 (Red Hat 4.1.2-48)’,  
gccosandvers=‘’  
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678  
d\_longlong=define, longlongsize=8, d\_longdbl=define, longdblsize=16  
ivtype=‘long’, ivsize=8, nvtype=‘double’, nvsize=8, Off\_t=‘off\_t’,  
lseeksize=8  
alignbytes=8, prototype=define  
Linker and Libraries:  
ld=‘gcc’, ldflags =‘’  
libpth=/usr/local/lib64 /lib64 /usr/lib64  
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread  
-lc  
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc  
libc=, so=so, useshrplib=true, libperl=libperl.so  
gnulibc\_version=‘2.5’  
Dynamic Linking:  
dlsrc=dl\_dlopen.xs, dlext=so, d\_dlsymun=undef, ccdlflags=‘-Wl,-E  
-Wl,-rpath,/usr/lib64/perl5/5.8.8/x86\_64-linux-thread-multi/CORE’  
cccdlflags=‘-fPIC’, lddlflags=‘-shared -O2 -g -pipe -Wall  
-Wp,-D\_FORTIFY\_SOURCE=2 -fexceptions -fstack-protector  
–param=ssp-buffer-size=4 -m64 -mtune=generic’

Characteristics of this binary (from libperl):  
Compile-time options: MULTIPLICITY PERL\_IMPLICIT\_CONTEXT  
PERL\_MALLOC\_WRAP USE\_64\_BIT\_ALL USE\_64\_BIT\_INT  
USE\_ITHREADS USE\_LARGE\_FILES USE\_PERLIO  
USE\_REENTRANT\_API  
Built under linux  
Compiled at Sep 28 2010 08:50:01  
@INC:  
/usr/lib64/perl5/site\_perl/5.8.8/x86\_64-linux-thread-multi  
/usr/lib/perl5/site\_perl/5.8.8  
/usr/lib/perl5/site\_perl  
/usr/lib64/perl5/vendor\_perl/5.8.8/x86\_64-linux-thread-multi  
/usr/lib/perl5/vendor\_perl/5.8.8  
/usr/lib/perl5/vendor\_perl  
/usr/lib64/perl5/5.8.8/x86\_64-linux-thread-multi  
/usr/lib/perl5/5.8.8  
.  
cat /etc/redhat-release  
CentOS release 5.2 (Final)

nm nginx.so gives undefined symbol  
can anyone plz help

Posted at Nginx Forum:

> **[install nginx on 64 bit gives undefined symbol ngx\_http\_core\_module](https://forum.nginx.org/read.php?2,134558,140459#msg-140459)**
>
> Changes with nginx 0.8.51 27 Sep 2010 \*) Change: the "secure\_link\_expires" directive has been canceled. \*) Change: a logging level of resolver errors has been lowered from "alert" to "erro
