[Spacewalk-list] Fedora12 x86_64: Can't load module DBD::Oracle: libocci.so.10.1: wrong ELF class

Michael Mraka michael.mraka at redhat.com
Mon Oct 12 07:55:57 UTC 2009


Alex Davies wrote:
% Hi,
% 
% I've hit a problem that seems similar to
% http://www.mail-archive.com/spacewalk-list@redhat.com/msg02000.html,
% although I am using Fedora 12, x86_64.
% 
% When I attempt to install Spacewalk I get this:
% 
% [root at spacewalk ~]# spacewalk-setup --disconnected
% Can't load '/usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so'
% for module DBD::Oracle: libocci.so.10.1: wrong ELF class: ELFCLASS32
% at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm
% line 203.
%  at /usr/lib/perl5/vendor_perl/5.10.0/RHN/DB.pm line 540
% Compilation failed in require at
% /usr/lib/perl5/vendor_perl/5.10.0/RHN/DB.pm line 540.
% BEGIN failed--compilation aborted at
% /usr/lib/perl5/vendor_perl/5.10.0/RHN/DB.pm line 540.
% Compilation failed in require at /usr/bin/spacewalk-setup line 45.
% BEGIN failed--compilation aborted at /usr/bin/spacewalk-setup line 45.
% 
% Running the command requested in the linked thread shows that I am
% running 64 bit:
% 
% [root at spacewalk 5.10.0]#  rpm -q --queryformat "%{NAME} %{ARCH}\n"
% oracle-instantclient-basic
% oracle-instantclient-basic x86_64

Looks like you have 32bit libocci.so.10.1 in linker path first (the one from
oracle-xe-univ package).

Should it be you've (mistakenly) run oracle_env.sh for root?


--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list