wrong ELF class: ELFCLASS64 when trying to start HTTP Server
441858Sep 3 2008 — edited Nov 20 2009Oracle11gR1 Database on OEL 5 64bit with Oracle10gR3 (10.1.3.3.0) Application Server
I have finished installing Oracle Application Server and in the end it fails to bring up HTTP Server. I checked the logs and saw the following:
/opt/app/oracle/product/11.1.0/http_1/ohs/bin/apachectl startssl: execing httpd
/opt/app/oracle/product/11.1.0/http_1/ohs/bin/httpd: error while loading shared libraries: libgdbm.so.2: wrong ELF class: ELFCLASS64
I am thinking that it could be a 32bit vs. 64bit libraries. I have tried to create some links but still no luck. Below are the current links that I have in the /usr/lib and /usr/lib64 directories.
1. /usr/lib
# ls -al libgdbm*
lrwxrwxrwx 1 root root 16 Sep 3 09:47 libgdbm.so.2 -> libgdbm.so.2.0.0
-rwxr-xr-x 1 root root 26792 Sep 3 09:41 libgdbm.so.2.0.0
2. /usr/lib64
# ls -al libgdbm*
lrwxrwxrwx 1 root root 16 Sep 3 10:17 libgdbm.so -> libgdbm.so.2.0.0
lrwxrwxrwx 1 root root 16 Jul 18 04:34 libgdbm.so.2 -> libgdbm.so.2.0.0
-rwxr-xr-x 1 root root 26792 Jun 5 2007 libgdbm.so.2.0.0
lrwxrwxrwx 1 root root 23 Sep 3 10:19 libgdbm.so.3 -> /usr/lib64/libgdbm.so.2
Thank you.