|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52993 error while loading configured
Submitted: 2010-10-05 16:00 UTC Modified: 2010-10-13 10:42 UTC
From: klus dot vit at gmail dot com Assigned:
Status: Closed Package: Other web server
PHP Version: 5.3.3 OS: openSUSE 11.3 (x86_64)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
41 - 11 = ?
Subscribe to this entry?

 [2010-10-05 16:00 UTC] klus dot vit at gmail dot com
I've configured php for the IBM HTTP Server v7.0.0 on a 64bit openSUSE 11.3 
(x86_64) by the configure string:

./configure --with-ibm-db2=/opt/ibm/db2/V9.7 --with-
apxs2=/opt/IBM/HTTPServer/bin/apxs --with-freetype-
dir=/usr/include/freetype2/freetype --without-mysql --with-gd=/usr/ --with-png-
dir=/usr/lib --with-zlib-dir=/usr/lib --disable-cli --with-config-file-
path=/usr/local/lib --with-ldap --with-pear --with-openssl

After executing "apacheclt start" I got the message:
httpd: Syntax error on line 163 of /opt/IBM/HTTPServer/conf/httpd.conf: Cannot 
load /opt/IBM/HTTPServer/modules/ into server: 
/opt/IBM/HTTPServer/modules/ wrong ELF class: ELFCLASS64

I can't change the gcc on this server.
What is needed to compile properly for this system?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-13 03:32 UTC] uramihsayibok at gmail dot com
You sure you have a 64-bit Apache? Compare the output of
$ file /opt/IBM/HTTPServer/modules/
with what `file -L` says on your Apache binary (check /usr/sbin/apache or apache2 or httpd)
 [2010-10-13 10:42 UTC] klus dot vit at gmail dot com
-Status: Open +Status: Closed
 [2010-10-13 10:42 UTC] klus dot vit at gmail dot com
Thanks for the answer, uramihsayibok.
I have 32 bit IBM HTTP Server.
But I've solved the problem.

First of all I set flag: export CFLAGS="-m32"
Then I installed the glibc-devel library for i386. Without that the ./configure 
doesn't want to start with the error "C compiler cannot create executables"
Then I installed i386 libraries that are using in ./configure and created 
symbolic link ln -s /home/db2inst1/sqllib/lib32 /home/db2inst1/sqllib/lib for 
using 32-bit DB2 libraries for compilation(DB2 was 64-bit ESE).
After that the ./configure, make and make install passed with success and the 
server started.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Mar 02 00:01:28 2024 UTC