[Spacewalk-list] Wrong ELF Class error when running spacewalk-setup --disconnected

Mike McCune mmccune at redhat.com
Wed Jul 9 21:40:29 UTC 2008


Camron W. Fox wrote:
> Alle,
> 
> 	Running on RHEL5.2, x86_64, kernel 2.6.18-92.1.6.el5, installation goes 
> per the instructions (we had to remove specspo *and* php, php-devel) 
> until we get to:
> 
> [root at rb10 ld.so.conf.d]# spacewalk-setup --disconnected
> * Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
> * Setting up environment and users.
> ** GPG: Initializing GPG and importing RHN key.
> * Setting up database.
> ** Database: Setting up database connection.
> DB User? spacewalk
> DB Password?
> DB SID? xe
> DB hostname? localhost
> DB port [1521]?
> DB protocol [TCP]?
> Could not connect to the database.  Your connection information may be 
> incorrect.  Error: install_driver(Oracle) failed: Can't load 
> '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so' 
> for module DBD::Oracle: libclntsh.so.10.1: wrong ELF class: ELFCLASS32 
> at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 
> 230, <STDIN> line 6.
>   at (eval 784) line 3
> Compilation failed in require at (eval 784) line 3, <STDIN> line 6.
> Perhaps a required shared library or dll isn't installed where expected
>   at /usr/bin/spacewalk-setup line 1504
> 
> 	Has anyone seen this? We double checked that all packages were coming 
> either from spacewalk or epel when we did the installation. Any help 
> would be appreciated.

What version of the instantclient did you install?  You need the x86_64 
bit one if you are on x86_64.   I updated this wiki doc yesterday to 
reflect that :

https://fedorahosted.org/spacewalk/wiki/OracleXeSetup


Mike
-- 
Mike McCune
mmccune AT redhat.com
Engineering               | Portland, OR
RHN Satellite             | 650.567.9039x79248




More information about the Spacewalk-list mailing list