Re: Oracle 11g Client and Selinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Garry T. Williams wrote:
> 
> After installation, I wanted to add the client libraries to ldconfig
> so I could link my code to them.  I added oracle.conf to the
> /etc/ld.so.conf.d directory with this line:
> 
>     /opt/oracle/product/lib
> 
> and ran ldconfig as root.  Now the fun started.
[...]
> 
> I was surprised to see /lib64/dbus-1/dbus-daemon-launch-helper link to
> Oracle's version of libexpat.
> 
> What did I do wrong?

Did you add the line in ld.so.conf in first position or in last position?
Could be related to ordering.

Or, more simply, what you specify in ld.so.conf has precedence against
/lib and /usr/lib, so the Oracle lib always wins. (man ld.so seems
to suggest this).
In that case you should not modify ld.so.conf for Oracle. Just run Oracle
with a suitable LD_LIBRARY_PATH and do not pollute the system config.
The Oracle installer should have created a oraenv file somewhere for you;
it messes with some env vars, including LD_LIBRARY_PATH. You should run it
(with ". /xxxx/oraenv") before Oracle.

-- 
   Roberto Ragusa    mail at robertoragusa.it
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux