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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux