I had to add the following to the %post and %postun scripts of that RPM in order for it to work, on x86_64 at least due to text relocations in the Oracle shared libraries:

        %post
        /usr/sbin/semanage fcontext -a -f -- -t textrel_shlib_t \
                '%{_libdir}/oracle/%{version}/client/%{_lib}/lib.*\.so.*'
        /sbin/fixfiles -R %{name}-basic%{?lite}.%{_arch} restore || :
        ...

        %postun
        if [ "$1" = 0 ]; then
                /usr/sbin/semanage fcontext -d -f -- -t textrel_shlib_t \
                        
'%{_libdir}/oracle/%{version}/client/%{_lib}/lib.*\.so.*'
        fi
        ...




SELinux would prevent the client from working without that textrel_shlib_t context.


Otherwise, Matthias's RPMs work great- we use them here for the Oracle driver on Perl.

-Chris Wing
[EMAIL PROTECTED]




On Tue, 13 Nov 2007, Dario Hernan wrote:

Thanks Sam
I'll see it


2007/11/13, Sharpe, Sam J <[EMAIL PROTECTED]>:
Hi all! I need to install Oracle client 10g on RHEL5 I was looking for
a howto on google, Buy I didn't.
Is there a redhat step by step to install it?

Not that I know of.

Is there a official rpm for it?

No, but before Matthias can plug his own RPMS, I'll do it for him ;o)
They're very useful.

http://freshrpms.net/docs/oracle/

You will need to know how to convert the oracle-instantclient SRPM into
a working RPM as Matthias is unable to provide a download of the
Proprietary Oracle binaries - so you have to get them from Oracle.

--
Sam

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list




_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to