Instant client on Mac OS 10.4 PowerPC

I have installed the instantclient 10.1.0.3 for Mac OS. I can execute the demo against my own database from a command line, but if I transpose the very same code to XCode in an cocoa application, it crashes on the second statement below:
     env = Environment::createEnvironment (Environment::DEFAULT);
     conn = env->createConnection (user, passwd, db); // this produce a "SIGABRT"
Stack Trace:
#0     0x90047dac in kill
#1     0x9012d7b4 in abort
#2     0x0029acc8 in __cxxabiv1::__terminate
#3     0x0029ad0c in std::terminate
#4     0x0029af78 in __cxa_rethrow
#5     0x0020ade0 in oracle::occi::ConnectionImpl::openConnection
#6     0x00207f84 in oracle::occi::ConnectionImpl::ConnectionImpl
#7     0x00206dcc in oracle::occi::EnvironmentImpl::createConnection
#8     0x00056adc in OraDriver::OraDriver at OraDriver.cpp:8
#9     0x0002da84 in -[DBConnect awakeFromNib] at TestConnect.mm:18
If anyone has any idea, I will truly appreciate.
Thank you!

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.

Similar Messages

  • 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.html

    sqlplus 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.

  • 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...

  • Instant Client Installation

    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 ismail

    I 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

  • 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

  • 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.com

    FWIW, the 10.2.0.4 releases for Win 32 and Linux x86 are also now available.
    -- cj

  • 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

  • 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

  • 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

  • Oracle 11g R2 Database Client for Mac OS X?

    Is there an Oracle 11g R2 client for Mac OS X? If so, where is it?

    Hi;
    Please check:
    http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
    Also see:
    Master Note For Oracle Database Client Installation [ID 1157463.1]
    Client / Server / Interoperability Support Between Different Oracle Versions [ID 207303.1]
    Master Note For Database and Client Certification [ID 1298096.1]
    Regard
    Helios

  • Oracle Client for Mac OSX

    I have an Oracle 9i Database Server on Windows 2000, but I'd like to access it
    from my MAC running OSX. I've installed the DBI interface for MacPerl, but cannot
    get the DBD::Oracle Driver installed, because I don't have the ORACLE_HOME/rdbms/demo/oracle.mk
    makefile.
    Can anyone point me to where I can download the oracle.mk file for Oracle9i? And/or is there an Oracle9i client
    for us Mac users?

    As of now Oracle ODBC driver is not supported on MacOS platform. That's why ODBC Instant Client Package is missing in that page.

  • Is there a way I can import my mail rules as they are on my account to email client on Mac?

    I have different filters set up in my accounts and when I set up Mail client on Mac, those settings are not imported which is messing up all my inbox. Is there a way to import those filters from my account to my Mac or am I missing any configuration that imports mail rules too?

    I have different filters set up in my accounts and when I set up Mail client on Mac, those settings are not imported which is messing up all my inbox. Is there a way to import those filters from my account to my Mac or am I missing any configuration that imports mail rules too?

  • 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 descriptor

    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 descriptor

Maybe you are looking for

  • Open Items Table

    hi experts Table name for Open Items data. Thanks Keshavp. Search SDN

  • PDF missing text when browsing or linking to a page

    Hello, I have an issue with missing text in a PDF file when I try and browse directly to a page in a PDF. Interestingly, the text is not missing when you open the PDF and navigate to the same page from within the PDF. The first Character(s) of the ti

  • How to Make Sure that the Apple Device and Printer are on the same Network

    Depending  on when one looks on this page, one can find members posting about issues with AirPrint or not being able to find the printer to use AirPrint. The first Item that people are told to check is the Apple Device's settings. Sometimes the perso

  • Use of native SQL-select statment

    hi, in my z-abap i use a native sql, saying the following: EXEC SQL.   select agzdau into :gf_agzdau from APZD08/AG                 where AGMAID = '77732' and                       AGJAHR = 2008 and                       AGMON  = 09 and              

  • Referance Billing Plan

    Hi all, how to create referance Billing plan in milestone billing ????? as i want to reflect % of down payment automatic for each transaction on vao1????