Mac OS X Instant Client
Greetings,
I did a search of the forum and the Instant Client site but couldn't find any information regarding Mac OS X. With the announcement of 10g for OS X are there any plans to release an Instant Client as well? If so, does anyone have an idea of when that might be?
Thanks,
Grant
We are currently working on the Mac OS X Instant Client
Similar Messages
-
Attempting to Run 'Instant Client' via XCode on Mac OS X (v10.4.6)
Environment: OS X (10.4.6) on G4.
The Setup:
I used 'Oracle Instant Client Installer' {http://www.kyngchaos.com/} to install the necessary Oracle libraries here:
[Users/oracle]ls /usr/local/oracle/lib
libclntsh.10.1.dylib* libclntsh.so@ libnnz10.dylib@ libocci.dylib.10.1@ libocijdbc.dylib@
libclntsh.dylib@ libnnz.10.dylib* libocci.10.1.dylib* libociei.dylib* libocijdbc10.dylib@
libclntsh.dylib.10.1@ libnnz.dylib@ libocci.dylib@ libocijdbc.10.dylib*
I've read that LD_LIBRARY_PATH is rather "archaic" for the Mac OS X vs a directory of dylibs accessable directly from XCode.
2) I set the XCode 2.2.1 Library search Path as:
USER_HEADER_SEARCH_PATHS = /usr/local/oracle/sdk/include
LIBRARY_SEARCH_PATHS = /usr/local/oracle/lib
==============
So my questions are:
1) How do I find the available APIs?
I've looked at an on-line example but don't know what I'm doing.
I saw some source-code demo on-line so I essentially cut/pasted the following code.
The following is what I've done within the NSApp's Delegate method:
#include "/usr/local/oracle/sdk/include/oci.h"
static OCIEnv *p_env;
static OCIError *p_err;
static OCISvcCtx *p_svc;
static OCIStmt *p_sql;
static OCIDefine p_dfn = (OCIDefine ) 0;
static OCIBind p_bnd = (OCIBind ) 0;
int p_bvi;
char p_sli[20];
int rc;
char errbuf[100];
int errcode;
@implementation AppDelegate
- (id)init {
self = [super init];
if (self) {
rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0, // Initialize OCI
(dvoid * (*)(dvoid *, size_t)) 0,
(dvoid * (*)(dvoid *, dvoid *, size_t))0,
(void (*)(dvoid *, dvoid *)) 0 );
// Initialize environment
rc = OCIEnvInit( (OCIEnv **) &p_env, OCI_DEFAULT, (size_t) 0, (dvoid **) 0 );
// Initialize handles:
rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_err, OCI_HTYPE_ERROR,
(size_t) 0, (dvoid **) 0);
rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_svc, OCI_HTYPE_SVCCTX,
(size_t) 0, (dvoid **) 0);
NSLog(@"{Appdelegate} Init.");
return self;
} // end init().
==============
What I get is:
test has exited due to signal 6 (SIGABRT).
[Session started at 2006-05-20 16:01:28 -0700.]
ZeroLink: unknown symbol '_OCIInitialize'
2) Am I on the right track or what am I doing wrong?
-- Oracle/OS X neopyte.
Ric.Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html -
Oracle 10.2.0.4 Instant Client for Mac OS X (Intel x86) is available
The 10.2.0.4 Instant Client for Mac OS X (Intel x86) can be downloaded from:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.htmlsqlplus gives me a bus error:
warcholw-osxi:~/oracle/instantclient_10_2 warcholw$ sqlplus
Bus error
warcholw-osxi:~/oracle/instantclient_10_2 warcholw$ gdb sqlplus
GNU gdb 6.1-20040303 (Apple version gdb-437) (Fri Jan 13 18:45:48 GMT 2006)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...
warning: Unable to read symbols for "/scratch/plebld/208/sqlplus/lib/libsqlplus.dylib" (file not found).
warning: Unable to read symbols for "/scratch/plebld/208/rdbms/lib/libclntsh.dylib.10.1" (file not found).
warning: Unable to read symbols for "/scratch/plebld/208/network/lib/libnnz10.dylib" (file not found).
Reading symbols for shared libraries ... done
(gdb) run
Starting program: /Volumes/UserData/Users/warcholw/oracle/instantclient_10_2/sqlplus
dyld: Library not loaded: /scratch/plebld/208/sqlplus/lib/libsqlplus.dylib
Referenced from: /Volumes/UserData/Users/warcholw/oracle/instantclient_10_2/sqlplus
Reason: image not found
Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe06046 in __dyld__ZN4dyld5_mainEPK11mach_headeriPPKcS5_S5_ ()
echo $PATH $DYLD_LIBRARY_PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/Volumes/UserData/Users/Shared/opensource/bin:/Users/warcholw/oracle/instantclient_10_2 /Users/warcholw/oracle/instantclient_10_2
warcholw-osxi:~/oracle/instantclient_10_2 warcholw$ ls
BASIC_LITE_README genezi libnnz10.dylib libocijdbc10.dylib network
BASIC_README glogin.sql libocci.dylib.10.1 libocijdbc10.jnilib ojdbc14.jar
SQLPLUS_README glogin.sql.orig libociei.dylib libsqlplus.dylib sdk
classes12.jar libclntsh.dylib.10.1 libociicus.dylib libsqlplusic.dylib sqlplus
warcholw-osxi:~/oracle/instantclient_10_2 warcholw$
warcholw-osxi:~/oracle/instantclient_10_2 warcholw$ uname -a
Darwin warcholw-osxi.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
warcholw-osxi:~/oracle/instantclient_10_2 -
Instant Client on Mac OS 10.7 (Lion)
When will the 64 bit version of the Instant Client be made available for Mac OS 10.7 (Lion)?
You can use DBD::Oracle but you will need to use a 32-Bit Perl. The default Perl is 64-Bit. It is pretty easy to get a 32-Bit Perl up and running with perlbrew.
-
Instant Client for Apple MAC OS X on Intel x86 Available on OTN
10.2.0.4 Database Client (+ Instant Client) for Apple MAC OS X on Intel x86 is now available for download on OTN: http://www.oracle.com/technology/software/tech/oci/instantclient/
Kuassi http://db360.blogspot.comFWIW, the 10.2.0.4 releases for Win 32 and Linux x86 are also now available.
-- cj -
Oracle 11g INSTANT CLIENT for Mac OS 10.8 with SQLLDR and WRAP
To Oracle please upgrade INSTANT Client 11g and/or 12c (future) and include two additional utilities I always use SQLLDR and WRAP. Currently I have to open a Linux VM to wrap and use SQL*Loader. I would prefer to do it all in the terminal window.
Actually I would like to see sqlldr and wrap utilities included with all instant clients (Linux, Windows, Mac OS, etc)Can you see the difference? (btw i am sure, genezi -v as sidadm worked with 11.2.0.1)
sidadm > /oracle/client/10x_64/instantclient_10204/genezi -v
Client Shared Library 64-bit - 10.2.0.4.0
System name: HP-UX
Release: B.11.31
Version: U
Machine: ia64
sidadm > genezi -v
Client Shared Library 64-bit - 11.2.0.2.0
System name: HP-UX
Release: B.11.31
Version: U
Machine: ia64
Or
sidadm > strings /oracle/client/10x_64/instantclient_10204/libclntsh.so | grep 'Release'
Oracle Database 10g Release 2 Patch Set 3 10.2.0.4.0
Or check in SAPGui -> Menu -> Status
Cheers Michael
PS: the cause for the behavior is, that there is always a client library in the $ORACLE_HOME directory too. And you have to be careful which one you (genezi) picks... -
No Instant Client 10.2 for Mac PPC?
I'll skip the rant about there not being an Oracle Instant Client for Intel Mac since that appears to have been covered in a previous thread.
But where's the 10.2 instant client for PPC Macs? All other platforms (at least the ones I care about) have 10.2 but Mac is stuck at 10.1. When I link against the 10.1 library, I get the following unresolved externals:
__ZTIN6oracle4occi12SQLExceptionE
__ZTIN6oracle4occi7PObjectE
Please tell me there's a 10.2 available for Mac, even if it's only PPC. Maybe somebody just forgot to update the links on the download site?hi there. i've got (almost) the same problem on my mac ppc (darwin kernel version 8.10.0) with g++ 4.0.0, but i only have an unresolved __ZTIN6oracle4occi12SQLExceptionE.
there is a workaround for the SQLException problem. as SQLException extends std::exception you can use
try {
catch(std::exception& exception) {
int oraCode(exception.getErrorCode());
std::string oraMessage(exception.getMessage());
// do whatever you like with oraCode and oraMessage
instead of
try {
catch(oracle::occi::SQLException& exception) {
int oraCode(exception.getErrorCode());
std::string oraMessage(exception.getMessage());
// do whatever you like with oraCode and oraMessage
throughout your code, which will not require
__ZTIN6oracle4occi12SQLExceptionE to be resolved (or generated).
as i mentioned before, i haven't come across the PObject problem. what compiler are you using (i suppose g++ 4.0.0)? what are your compiler and linker flags?
best wishes from hamburg, matt -
Universal Mac OSX Instant Client WHEN?!?!
Can't do all kinds of great wonderful things on my new MacBook Pro because the current G4 libraries in Instant Client won't link with Universal libraries. This means that I'm forced to ssh into a Linux box to do my work. It defeats the purpose of the having this wonderful laptop.
So when can we get Universal versions of Instant Client?Hello Harri99,
In order to make sure all traces of the Beta version are gone, please proceed to uninstall as follows:
-Remove Freedome from /Applications.
- Delete the folders "/Library/Application Support/F-Secure/FSFreedome" and "~/Library/Application Support/F-Secure/FSFreedome"
-Remove "Your F-Secure Freedome Key" from your login keychain (it's in Passwords category).
-Reinstall the latest version available here. -
Can someone explain what is the Database Instant Client
Download 10.2.0.4 Database Instant Client for Apple Mac OS X on Intel x86
What does the Database Instant Client contain?
What functionality does it have?
Does it include a 'lite' version of the database to run locally? Or is it only a set of tools that can connect to a remote (on another machine) database?It is only a client for connecting to databases. It is easier to install than the full client.
It does not include a database. Check the following link :-
http://www.oracle.com/technology/tech/oci/instantclient/index.html
http://www.ContractOracle.com -
Dear All
How to install instant client ? i install database 10g in my server and using 10g client for client but i want to know how to use instant client on client machine
Regards
Shahzaib ismailI installed instant client 11.1 on windows XP. Also put sqlplus in the same directory.
Set TNS_ADMIN environment variable = "C:\instantclient_11_1\tnsnames.ora"
set ORACLE_HOME environment variable = "C:\instantclient_11_1"
I put a valid tnsnames.ora in said directory too.
Sqlplus gives error
Message file sp1<Lang>.msb not found
Error 6 initializing SQL*Plus
which is absurd because this is an instant client. There is not supposed to be a home, all this is supposed to be automatic. MS Visual Studio 2008 cannot connect to it either.
Does 11g instant client work on XP at all ?
I have installed 10g instant client on mac os x and windows xp, no problem.
Thanks for answering. Any help appreciated. Also, if you can think of another forum I should ask this question, would appreciate it.
Dean -
I want to understand the differences in the way you can reserve a static address for a device on the network. I had previously set the device itself to an address and then reserved it with DHCP Client ID, which I thought was just the devices static addresss. I'm not sure if this was in fact correct or just happend to work. I know what a MAC address is, but I'm not really sure what the DHCP Client ID is. So it would be great if someone could clarify it, and the difference between reserving address by MAC Address or DHCP Client ID.
A MAC address is a unique identification consisting of letters and numbers in a form that looks like this:
xx:xx:xx:xx:xx:xx
Every network device has a MAC address, which can be found on a label on the bottom or back of the device. Apple calls this the Ethernet ID.
A DHCP Client ID is an optional name that you can assign to a device. For example, on your Mac....
Open System Preferences (gear icon on the dock)
Open Network
Click on Ethernet
Click Advanced at the lower right
You may be able to edit the DHCP Client ID here....for example.....you could enter MJ500's MacBook in the space provided. That would be the Client ID of your Mac. -
Not able to connect VS Web Developer Express through instant client 10
I just spent 10 hours attempting to connect Web Developer Express 2010 to an Oracle 10g database. In the end the solution was beyond simple, but with the existing threads there is a lot of talking around the problem. I’m posting this in case it might help someone else.
Obtain the Oracle instant client software that will work for your database. You will only need the basic package.
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Extract the contents to a temp location on your hard disk
Create a directory for the application – it could be anything, but here is what I used
C:\instantclient
Copy the extracted files into the directory you just created.
Right click on my computer and choose properties
Under advanced and environment variables you will need to add the directory you created above to the system variables PATH. You will need to create a new system variable called TNS_ADMIN and put the same c:\instantclient path in it.
Create the file tnsnames.ora under the c:\instantclient directory and put your customized entry in it. Below is an example.
tnsnams.ora file contents
<Alias for this tnsnames entry> =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <Your Oracle Server>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <Your database instance>)
It’s a good idea to restart your system after this installation.
In web developer express use the .NET Framework Data Provider for OLE DB.
Here is the key piece of information!!
Under server name you need to use the alias from the tnsnames.ora file entry. If you do not do this it will not pick up the SERVICE_NAME parm and will give you some goofy error like:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
or
ORA-12514: TNS:listener does not currently know of service requested in connect descriptorI just spent 10 hours attempting to connect Web Developer Express 2010 to an Oracle 10g database. In the end the solution was beyond simple, but with the existing threads there is a lot of talking around the problem. I’m posting this in case it might help someone else.
Obtain the Oracle instant client software that will work for your database. You will only need the basic package.
http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html
Extract the contents to a temp location on your hard disk
Create a directory for the application – it could be anything, but here is what I used
C:\instantclient
Copy the extracted files into the directory you just created.
Right click on my computer and choose properties
Under advanced and environment variables you will need to add the directory you created above to the system variables PATH. You will need to create a new system variable called TNS_ADMIN and put the same c:\instantclient path in it.
Create the file tnsnames.ora under the c:\instantclient directory and put your customized entry in it. Below is an example.
tnsnams.ora file contents
<Alias for this tnsnames entry> =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <Your Oracle Server>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = <Your database instance>)
It’s a good idea to restart your system after this installation.
In web developer express use the .NET Framework Data Provider for OLE DB.
Here is the key piece of information!!
Under server name you need to use the alias from the tnsnames.ora file entry. If you do not do this it will not pick up the SERVICE_NAME parm and will give you some goofy error like:
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
or
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor -
Why do I need instant client if I installed 11g1 and it works
sqldeveloper works
em works
sqlplus works
I have a problem with oci8, php 5.2.6, apache 2.2 ...all are installed and working
All the instructions I've found (and there are many) talk about
(1) Zend installs what I already have
(2) installing apache, oci8, php and instant client form scratch
I am NOT going to reduce a working system to scratch.
BTW my oci programs work and they have in the past worked through a client.What Oracle Software is installed on the machine: client or server?
I concur that there is no need for Instant Client here, indeed it would be a bad idea.
Anything that works with Instant Client should also work with the regular client.
If you encounter any Oracle-specific error messages, feel free to post them and ask for an opinion (even though this forum is reserved for Instant Client, it might be an obvious problem).
Yours,
Laurenz Albe -
Failed to install php-oci8 with instant Client for linux 64
Hello,
I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
install it.
But when i try to install php-oci8*.rpm, no matter which i use:
php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
The installation always failed due to dependencies errors with oracle instant client.
I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
All my tries gave me dependency errors.
sometime like:
error: Failed dependencies:
libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
oracle-instantclient = 10.2.0.3 is needed by
php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
Thanks in advance!See my followup to your duplicate post in the PHP forum
-
Where can I download the instant client ODBC driver for windows 7
I upgrade to windows 7 and my instant client connecting to oracle from ms Access stop working. Is there any documentation on how it works on windows 7. I use instant client and odbc cleint for xp.
Thanks11.2 is currently the only supported version on Win7, and you can get the instant client here:
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
Hope it helps,
Greg
Maybe you are looking for
-
From time to time on my new Mac Mini with 1 TB Fusion Drive, I am getting the following error: "Your Mac OS X startup disk has no more space available for application memory." This would indicate an issue with being able to write swap files/virtual m
-
Multiple pricing procedure determination problem
Dear Experts, I have a situation in pricing procedure determination. Please advice. The details are given below. Pricing procedure is determined for the combination of Sales Org, Division, Distribution Channel, Customer Pricing Procedure and Document
-
Safest site to sell Macbook Pro retina
I have a like new early 2013 MacBook Pro with retina display15.4" I want to sell. It is 16Gb ram, 512 HD, Mountain Lion (I never upgraded to anything else)and I have the box etc. I also have AppleCare on it until 2016. I will cancel AppleCare after
-
COGS ( Very Urgent Please)
Hello All I got a new project in COPA. please help me to survive in this job. When i run a report in COPA, the cost of goods sold(COGS) for a paticular profit center is not matching with report in Profit center accounting(GR55).The dollar value of CO
-
Copy rating in Part appraisal.
Hi All, I am having below requirement for part appraisal. If first reviewer complete the process after giving the rating, I want when second reviewer open the template for review, it should be populate with the rating given by the previous reviewer .