Link to home
Start Free TrialLog in
Avatar of victorli
victorliFlag for China

asked on

problem "ELF file data encoding not little-endian"

I installed Apache 1.3.27 binary and used mod_jk to connect it to Tomcat 4.1.12. They worked very well but when I tried to add modules by changing the configuration file httpd.conf , I got the erroe message "Cannot load xxx.so into server, ELF file data encoding not little-endian".

What is the problem and how to fix it?
Avatar of freshmeat
freshmeat

that is ok
please tell us which document you are confused about? apache or tomcat?
i found the document of tomcat4.1.12 on apache website is not good for reading...
:(

i used warp to connect apache with tomcat
wish to share the experience with you, victorli

:)
Avatar of victorli

ASKER

freshmeat, thanks for your reply.

I changed my question because I have got the connection going just after I posted the question.

Now I have got a new problem and hope you will give me some ideas.
victorli, i haven't met such problem as you described in your question.

but i may can help you if you can post some text of your httpd.conf, such as about xxx.so

thanks
:-)
I download the apache binary from apache website. I put "mod_jk-1.3-noeapi.so" to /usr/local/apache/libexec/ as "mod_jk.so". Also "workers.properties", "mod_jk.conf" etc under /usr/local/apache/conf directory. I found I just cannot add any modules by adding sth like:
....
LoadModule info_module libexec/mod_info.so
AddModule mod_info.c
....
I tried other modules such as mod_rewrite.so, mod_alias.so,  all have the same error. But if I did not add any modules, the apache can be started correctly and even worked with Tomcat.

Actually I want to install a RPM version of Apache1.3.27 binary to my Redhat system. It's strange I can not find one in Redhat official website. I found one in other website but the problem is the installation requires a "libdb3.2" package to be installed first. RPM refused to install this package because my system has got a newer version.

I am not sure if I need to compile the source instead of using the binary versions.  
ASKER CERTIFIED SOLUTION
Avatar of freshmeat
freshmeat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The httpd.conf is like this:


....
Listen 80
#LoadModule rewrite_module libexec/mod_rewrite.so

#AddModule mod_rewrite.c
LoadModule info_module libexec/mod_info.so

AddModule mod_info.c

Include /usr/local/apache/conf/mod_jk.conf
#Include /usr/local/apache/conf/httpd_local.conf


Port 80
...
compile from soure than everything is OK