Oracle 10.2.0.4 Instant Client For Mac

Автор:

Instantclient-basic-10.2.0.4.0-macosx-x64.zip, 17-Jun-2010 12:39, 33M. Instantclient-basic-macos.x32-11.2.0.3.0.zip, 01-May-2013 09:39, 57M.

Instant Client Release Notes

12c Release 2 (12.2) for Apple Mac OS X (Intel)

E87948-01

June 2017

1.1

This document contains important information that was not included in the platform-specific or product-specific documentation for this release.

This document supplements Oracle Database Readme.

This document may be updated after it is released. You can check for updates to this document and view other Oracle documentation at

This document contains the following topics:

1.2 Certification Information

The latest certification information for Oracle Database 12c Release 2 (12.2) is available on My Oracle Support at

1.3 Unsupported Products

The following features or products are not supported on Apple Mac OS X:

  • Pro*FORTRAN

  • Pro*COBOL

1.4 Other Known Issues

The following section contains information about the issue related to Oracle Database Instant Client 12c:

Pro*C Does Not Support C99 Headers

The Pro*C parser fails to recognize C99 headers on Apple Mac OS X El Captain, Apple Mac OS X Yosemite, and Apple Mac OS X Mavericks.

This issue has no workaround.

This issue is tracked with Oracle bug 16061064.

1.5 Documentation Accessibility

For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.

Access to Oracle Support

Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Oracle Database Instant Client Release Notes, 12c Release 2 (12.2) for Apple Mac OS X (Intel)

E87948-01

Copyright © 2015, 2017, Oracle and/or its affiliates. All rights reserved.

Primary Authors: Bharathi Jayathirtha, (primary author)

Contributing Authors: (contributing author), (contributing author)

Contributors: (contributor), (contributor)

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:

Hide popular highlights in Kindle for PC app eBooks. By default, the Kindle for PC app (a free download) displays what it calls 'popular highlights' - portions of text highlighted by other Amazon readers in their eBooks, which can be distracting. How to unhighlight in kindle. Open the Kindle app, tap the “Menu” button, and then tap the “Settings” option. On the Settings page, tap the “Other” setting. On the Other page, turn off the “Popular Highlights” toggle. On the Kindle App for Android. Open the Kindle App on your Android phone, tap the “More” button, and then tap the “Settings” option. Turn off Popular Highlights in Mac Kindle App? March 5, 2016 / Dave Taylor / Amazon Echo & Kindle Help / 1 Comment When work is slow, I’ll use the Kindle app on my iMac to read the book I have on my Kindle. On a old-style, non-touch Kindle reader: Go to the Home screen, click the Menu key, then select Settings. Turn to page 3, then switch Popular Highlights to “off.” You can hide “popular” highlights on a Kindle reader or app (such as the one for iPad) in just a few taps. If you are running an operating system that is not compatible with our app, you may continue reading from your computer with Kindle Cloud Reader. Also, double check that you are running the most current versions of the Kindle App on the devices you are using. The latest version of Kindle for Mac is 1.23.

U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are 'commercial computer software' pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

This software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set forth in an applicable agreement between you and Oracle.

Build and Install cx_Oracle on Mac Leopard Intel

I finally succeeded in building and installing cx_Oracle on aMac. I will outline the steps that I took. There are manyredundant steps that I may later take out. But there are checksthat I made on the way that really helped.

The first Mac that I installed cx_Oracle was a 2.4 GHz Intel Core2 Duo running Mac OSX 10.6.6. It had 4 GB of Memory. Most of mywork was done on a terminal window.

Check Python Installation

The OSX comes with a Python interpreter. I ran a check to findthe version number.This was sufficient for my needs. I decided not to upgrade toPython version 2.7.1

Xcode from Apple

The Xcode package is available from Apple Developer.You will need a login account but that is free. Now you do not needXcode 4. Xcode 3 is sufficient because all we are interested in isthe gcc compiler. After you login look for a link that saysLooking for Xcode 3? I downloaded X code 3.2.6 and iOSSDK 4.3. It was 4.1 GB in size and is best done when you knowyou will not be using your Mac.

After the download, the installation went off smoothly. I restartedthe Mac and on a terminal window checked that the gcc compilerwas installed correctly.You can also do man gcc to get the online manual for gcc.

Install Oracle Instant Client

The cx_Oracle has a dependency. It needs Oracle Instant Client from Oracle.Click on the link Instant Client for Mac OS X (Intel x86). Acceptthe license agreement and download Version 10.2.0.4 (64-bit).I tried the 32-bit and it does NOT work. You will need your Oracle accountto download the following packages:

  • instantclient-basic-10.2.0.4.0-macosx-x64.zip
  • instantclient-sdk-10.2.0.4.0-macosx-x64.zip

I created a directory called oracle to unpack the packages. Thepathname on my machine was /Users/utcs/oracle. On your machine,it will be your user name instead of utcs. I moved both the basicand sdk packages into the oracle directory and unzipped them.After unzipping the basic package I got a folder instantclient_10_2.

After unzipping the sdk package, I got a folder called instantclient_10_2-1. Inside that folder was another folder calledsdk. I moved the folder named sdk inside the folder instantclient_10_2.

From a terminal window I changed directory to sdk. On my machine, thefull path name was /Users/utcs/oracle/instantclient_10_2/sdk. Thereis another .zip file called ottclasses.zip. I unzipped that as follows:It produced a folder called oracle. I changed directory to/Users/utcs/oracle/instantclient_10_2. I ran the following commandto copy all the files in the sdk folder.The last two commands may not have been necessary. But it makes it easierto locate the header files.

Setting up the Environment Variables

In my home directory /Users/utcs I created a .profile file.Its content was as follows:Restart the machine. Open another terminal window and run the followingcommands to check that the environment variables have been setproperly:You should see the path names printed out correctly. I created twosymbolic links in the $ORACLE_HOME directory(/Users/utcs/oracle/instantclient_10_2) as follows:If you run the command ls -l in that directory you should see thesymbolic links.

Building and Installing cx_Oracle

Download from SourceForge cx_Oracle version 5.0.4. You need to get the package that saysSource Code only. In your Download folder you will findcx_Oracle-5.0.4.tar. I moved it to /Users/utcs/oracle. To untar,I used the following command:

After untarring I had a subdirectory called cx_Oracle-5.0.4. Ina terminal window I changed directory to /Users/utcs/oracle/cx_Oracle-5.0.4.I checked in that window that all the environment variables were set properly by doingI did not have administrative privileges on this Mac so to build I didI checked to output. There were many warning messages that Iignored. Even a single error message would have indicated thatthe build process did not succeed. I next installed cx_Oracle byThe install also finished without any error messages.

Test the cx_Oracle installation

On a terminal window type python. It should bring up Python ininteractive mode. Then type import cx_Oracle. It should add thepackage to your path without any errors. Get out of the interactivemode using Control-D.

Now copy and paste this script into a file called Check.py. Change the user name and run it on the command line.You should see Connection successful if all the other testswere successful.