<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Found the issue.<br>
    <br>
    did <br>
    <br>
    [root@beech ld.so.conf.d]# ldd
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/Oracle/Oracle.so<br>
            libocci.so.10.1 =>
    /usr/lib64/oracle/10.2.0.4/client/lib/libocci.so.10.1
    (0x00002b35d82a1000)<br>
            libclntsh.so.10.1 =>
    /usr/lib64/oracle/10.2.0.4/client/lib/libclntsh.so.10.1
    (0x00002b35d84c9000)<br>
            libpthread.so.0 => /lib64/libpthread.so.0
    (0x00002b35d9893000)<br>
            libc.so.6 => /lib64/libc.so.6 (0x00002b35d9aaf000)<br>
            libstdc++.so.5 => not found<br>
            libm.so.6 => /lib64/libm.so.6 (0x00002b35d9fda000)<br>
            libgcc_s.so.1 => /lib64/libgcc_s.so.1
    (0x00002b35da25e000)<br>
            libnnz10.so =>
    /usr/lib64/oracle/10.2.0.4/client/lib/libnnz10.so
    (0x00002b35da46c000)<br>
            libdl.so.2 => /lib64/libdl.so.2 (0x00002b35da90c000)<br>
            libnsl.so.1 => /lib64/libnsl.so.1 (0x00002b35dab11000)<br>
            /lib64/ld-linux-x86-64.so.2 (0x0000003418400000)<br>
    <br>
    <br>
    I have something called centrify installed and it has its own
    version of libstdc++.so.5<br>
    Just linked a copy to /usr/lib64 <br>
    ldconfig<br>
    <br>
    all is working now and spacewalk is up and running.<br>
    <br>
    Sorry for being a nuisance.<br>
    <br>
    Michael<br>
    <br>
    <br>
    On 10-11-23 04:26 PM, Colin Coe wrote:
    <blockquote
      cite="mid:AANLkTimRBw84J2_m2J=u0Yc_p0BqfJNP2C_dHu3Q=6GK@mail.gmail.com"
      type="cite">
      <pre wrap="">On Wed, Nov 24, 2010 at 6:59 AM, Michael Morel <a class="moz-txt-link-rfc2396E" href="mailto:Michael.Morel@totem.ca"><Michael.Morel@totem.ca></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
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
 <a class="moz-txt-link-freetext" href="https://fedorahosted.org/spacewalk/wiki/HowToInstall">https://fedorahosted.org/spacewalk/wiki/HowToInstall</a>   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

[root@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

[root@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
[root@beech ld.so.conf.d]#

can not seem to figure out where the wheels are falling off.  Any help would
be appreciated.

Michael

</pre>
      </blockquote>
      <pre wrap="">
'yum -y install bc libc.so.6 libaio.so.1'?

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <title></title>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <meta http-equiv="content-style-type" content="text/css">
      <meta http-equiv="expires" content="0">
      <meta http-equiv="refresh" content="5; URL=http://">
      <strong>Michael Morel</strong><br>
      Systems Administrator<br>
      Ph 403-247-7300<br>
      Fx 403-247-6501<br>
      <a href="mailto:Michael.Morel@totem.ca">Michael.Morel@totem.ca</a><br>
      <a href="http://www.totem.ca">www.totem.ca</a><br>
      <strong>Totem Building Supplies Ltd.</strong><br>
      6920 - 29th Avenue NW<br>
      Calgary, Alberta T3B 0J4<br>
    </div>
  </body>
</html>