Free Oracle Client For Mac

Active4 years, 9 months ago

I want to install SqlPlus client on my Mac, which is 64-bit.Firstly, I installed sqlplus for 64-bit, but I had error:'Segmentation fault: 11'Then I installed sqlplus for 32-bit, but still have a problem it says:../libsqlplus.dylib: no suitable image found ../libsqlplus.dylib: mach-o, but wrong architecture

I have used many tutorials, but still didn't solve this problem.

From the Darwin Kernel version looks like you are running the client on a 10.4 version of MACOSX. The client is supported only on Leopard (10.5).

Ryainad
Free oracle client for macRyainadRyainad

Oracle Database For Mac

1041 gold badge3 silver badges12 bronze badges

1 Answer

Free Oracle Client For Mac

The 11gR2 64-bit instant client works on 10.8.5. It doesn't matter if the database you're connecting to is still 10g, you can use the 11g client. I'm not aware of any reason to still use the old version, unless maybe you need a specific ojdbc version; but presumably there are use cases or it wouldn't still be listed prominently for download. Anyway, this demonstrates a fresh install:

You can create a tnsnames.ora anywhere; I put this in the same instant client_11_2 directory:

The 32-bit version works fine too:

You can of course move or rename the instanstclient_11_2 directory to anything you want, just make sure your DYLD_LIBRARY_PATH, TNS_ADMIN and (to make life easier) PATH environment variables follow it. If you have more than one version installed make sure the variables only point to one version at a time so you pick up the right libraries etc. (If you do have multiple versions, making TNS_ADMIN somewhere central makes much more sense as you only need to maintain one copy of tnsnames.ora).

I'd need to check, but I think you might have to still use the 32-bit version if you're connecting from Java; it has to batch the architecture of Java itself so I guess it depends which version of that you have installed.

Alex PooleAlex PooleOracle

Install Oracle Client

142k7 gold badges117 silver badges199 bronze badges

Oracle 11g For Mac

Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Download Oracle Client For Windows

Not the answer you're looking for? Browse other questions tagged macosoracle32bit-64bitsqlplus or ask your own question.