Found the issue.
did
[r...@beech ld.so.conf.d]# ldd
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so
libocci.so.10.1 =>
/usr/lib64/oracle/10.2.0.4/client/lib/libocci.so.10.1 (0x00002b35d82a1000)
libclntsh.so.10.1 =>
/usr/lib64/oracle/10.2.0.4/client/lib/libclntsh.so.10.1 (0x00002b35d84c9000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b35d9893000)
libc.so.6 => /lib64/libc.so.6 (0x00002b35d9aaf000)
libstdc++.so.5 => not found
libm.so.6 => /lib64/libm.so.6 (0x00002b35d9fda000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b35da25e000)
libnnz10.so =>
/usr/lib64/oracle/10.2.0.4/client/lib/libnnz10.so (0x00002b35da46c000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b35da90c000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b35dab11000)
/lib64/ld-linux-x86-64.so.2 (0x0000003418400000)
I have something called centrify installed and it has its own version of
libstdc++.so.5
Just linked a copy to /usr/lib64
ldconfig
all is working now and spacewalk is up and running.
Sorry for being a nuisance.
Michael
On 10-11-23 04:26 PM, Colin Coe wrote:
On Wed, Nov 24, 2010 at 6:59 AM, Michael Morel<[email protected]> wrote:
Hello folks:
Installing spacewalk on a clean Centos 5.5 64bit server.
Linux beech 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:20 EST 2010 x86_64
x86_64 x86_64 GNU/Linux
I have been following the
https://fedorahosted.org/spacewalk/wiki/HowToInstall for version 1.2
I had download these oracle rpms:
oracle-instantclient-basic-10.2.0.4-1.x86_64.rpm
oracle-instantclient-sqlplus-10.2.0.4-1.x86_64.rpm
oracle-xe-univ-10.2.0.1-1.0.i386.rpm
When I run
[r...@beech oracle]# spacewalk-setup --disconnected
* Setting up Oracle environment.
* Setting up database.
** Database: Setting up database connection for Oracle backend.
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/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so'
for module DBD::Oracle: libstdc++.so.5: cannot open shared object file: No
such file or directory at
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230,
<STDIN> line 6.
at (eval 791) line 3
Compilation failed in require at (eval 791) line 3,<STDIN> line 6.
Perhaps a required shared library or dll isn't installed where expected
at /usr/lib/perl5/vendor_perl/5.8.8/Spacewalk/Setup.pm line 1372
Googled, checked
[r...@beech ld.so.conf.d]# cat oracle-lib-compat.conf
/usr/lib64/oracle/10.2.0.4/client/lib
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
[r...@beech ld.so.conf.d]#
can not seem to figure out where the wheels are falling off. Any help would
be appreciated.
Michael
'yum -y install bc libc.so.6 libaio.so.1'?
--
*Michael Morel*
Systems Administrator
Ph 403-247-7300
Fx 403-247-6501
[email protected] <mailto:[email protected]>
www.totem.ca <http://www.totem.ca>
*Totem Building Supplies Ltd.*
6920 - 29th Avenue NW
Calgary, Alberta T3B 0J4
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list