I would definitely stick to the recommended versions from the wiki -
they made it a point to state that only that version should be used in
the documentation so I'm guessing they had their reasons.
Jem
Stephen Berg (Contractor) wrote:
Adrián Márques wrote:
From the known issues section @
https://fedorahosted.org/spacewalk/wiki/OracleXeSetup (check it out):
* can't find libclntsh.so.10.1 on x86_64 installation, need to
modify LD_LIBRARY_PATH to point to all versions of the
libclntsh.so.10.1 file:
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 1492
[EMAIL PROTECTED] ~]# locate libclntsh.so.10.1
/usr/lib/oracle/10.2.0.4/client64/lib/libclntsh.so.10.1
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libclntsh.so.10.1
edit the file in /etc/ld.so.conf.d created earlier and run ldconfig
-v to enable the changes.
tn
The client packages I grabbed from oracle are all 11.1.0.1. Do I need
to remove them and downgrade to the 10.2.0.4 versions?
I had already made the wiki suggested changes in ld.so.conf.d but I'm
still getting the libclntsh.so error. After adding the
/etc/ld.so.conf.d/spacewalk.conf file with the paths to libclntsh.so I
get two warnings:
ldconfig: Path `/usr/lib/oracle/11.1.0.1/client64/lib' given more than
once
ldconfig: Path
`/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib' given more
than once
This is because the /etc/ld.so.conf.d/oracle-lib-compat.conf file
already lists those paths.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list