[Spacewalk-list] error in the docu..

Jan Pazdziora jpazdziora at redhat.com
Tue Sep 15 09:45:04 UTC 2009


On Tue, Sep 15, 2009 at 10:07:04AM +0100, John Hodrien wrote:
>>
>> And that's the reason why sqlplus complains about missing i386 libs -
>> you've modified $PATH so that
>> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus (which
>> is i386) takes priority over /usr/bin/sqlplus (x86_64 version).
>
> But if you'd done that, wouldn't you have:
>
> /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/
>
> in your LD_LIBRARY_PATH, and it'd all work nicely anyway?

No.

The client tools are supposed to use the InstantClient tools which do
not require ORACLE_HOME and LD_LIBRARY_PATH set. They (might) require
/etc/tnsnames.ora but not the environment variables.

If you set the environment variables, you will force the other client
libraries (cx_Oracle, perl-DBD-Oracle) to dynamically load libraries
from the Oracle XE distribution, which are *not* the libraries they
were compiled and tested against. Thus, you might experience Oracle
libraries issues in the future. This is the reason we have the
installation instructions and we recommend to follow them.

-- 
Jan Pazdziora
Senior Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list