Oracle 10g client on MacOS X Tiger
Posted by chris on Aug 7th, 2005
I’ve recently got my first ever Mac - a new PowerBook and I’ve been busy setting things up on it. One thing I needed was database connectivity. At the moment, Oracle’s 10g Client officially only supports MacOS up to version 10.3.6. So to get it working under Tiger, you need to tweak some things. There’s a discussion here:
Basically it boils down to:
- Add an entry for yourself in your /etc/hosts file (mad, I know, but you can remove it afterwards)
- Do sudo gcc_select 3.3 before you run the install. This makes it use the right version of gcc.
I did all of this and the install ran without problem. I then had the very odd situation where tnsping worked, but SQL*Plus did not. It turned out to be an issue with line endings. My tnsnames file was still in DOS mode after copying it from my Windows box. I changed to UNIX line endings and it worked…

