Oracle 11g Client and Selinux
mail at robertoragusa.it
Wed Aug 11 07:34:55 UTC 2010
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:
> 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
More information about the users