Hi,I am trying to get the details for the machine on which it was built.Meanwhile my concern is while the apache runs fine when mod_deflate is disabled.Has it got to do something with the libz on the machine?
Thanks,Sent: Wednesday, January 9, 2013 11:19 AM
From: Igor Cicimov <icicimov@xxxxxxxxx>
To: users <users@xxxxxxxxxxxxxxxx>; Abhi Auradkar <aurabhi@xxxxxxxxx>
Subject: Re: Apache fails to start when mod_deflate is enabled
On Wed, Jan 9, 2013 at 4:30 PM, Abhi Auradkar <aurabhi@xxxxxxxxx> wrote:
Hi,This apache is compiled from source. It was compiled on another machine though.In that case both boxes have to be completely identical, same hardware and software structure. Was the other box maybe 32 bit machine?
This is what the file and ldd result in. (The libraries refered are present in /lib/64)bash-3.2# file /usr/local/apache2/modules/mod_deflate.so/usr/local/apache2/modules/mod_deflate.so: ELF 64-bit LSB dynamic lib AMD64 Version 1 [SSE CMOV], dynamically linked, not strippedbash-3.2#ldd usr/local/apache2/modules/mod_deflate.solibc.so.1 => /lib/64/libc.so.1libm.so.2 => /lib/64/libm.so.2Thanks,
From: Igor Cicimov <icicimov@xxxxxxxxx>
To: users <users@xxxxxxxxxxxxxxxx>; Abhi Auradkar <aurabhi@xxxxxxxxx>
Sent: Wednesday, January 9, 2013 4:55 AM
Subject: Re: Apache fails to start when mod_deflate is enabled
On Tue, Jan 8, 2013 at 11:01 PM, Abhi Auradkar <aurabhi@xxxxxxxxx> wrote:Hi,On a solaris AMD64 bit machine the apache server fails to start when mod_deflate is enabled.Following is the error that I see.httpd: Syntax error on line 934 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 5 of/usr/local/apache2/conf/modules.conf: Cannot load /usr/local/apache2/modules/mod_deflate.so intoserver: ld.so.1: httpd: fatal: relocation error: R_AMD64_PC32: file /usr/local/apache2/modules/mod_deflate.so: symbol memset: value 0x28001baf05a does not fit
Machine Details---------------SunOS pearl 5.10 Generic_142910-17 i86pc i386 i86pc
64-bit amd64 applicationssse4.2 sse4.1 ssse3 popcnt tscp cx16 mon sse3 pause sse2 sse fxsr mmxcmov amd_sysc cx8 tsc fpu32-bit i386 applicationssse4.2 sse4.1 ssse3 popcnt tscp cx16 mon sse3 pause sse2 sse fxsr mmxcmov sep cx8 tsc fpuAny pointers whats wrong here.Appreciate your help!Thanks,First how did you install apache, using Solaris binary or compiled from source? Second, post the output of:
$ file /usr/local/apache2/modules/mod_deflate.so$ ldd /usr/local/apache2/modules/mod_deflate.so