Instant Client for Linux for SPARC 64?

I'm running Linux on SPARC64 and I would like to compile PHP with the OCI module... BUT I cannot.
I either run in to TLS problems (which get fixed with LD_PRELOAD=libclntsh.so ) or I run in to missing Sun libraries (as expected, but I found no ports) like libkstats.
Is it possible to do what I want to do? I have thought about using the PHP and JavaBridge, but that doesn't seem to mean I don't have to use OCI libraries (libclntsh and etc)... and may be a huge performance hit (two interpreted languages? UGH!)
Ideas?

just curious... which distro are you running on SPARC 64??? :)

Similar Messages

  • ODBC instant client driver rpm for Linux X64

    Hi,
    Can anyone tell me where can I find odbc instant client driver rpm for Linux X64 edition.
    I can only see for Linux x32 not for X64.
    Edited by: user11128035 on Sep 6, 2009 3:13 AM
    Edited by: user11128035 on Sep 6, 2009 3:15 AM

    I don't understand your step 7 (the first step 7, actually).
    What is that unixODBC-2.2.14-linux-x86-32.tar.gz, where did it come from, and why are you doing all that?
    unixODBC should be installed after step 5.
    I guess that that is the cause of your problem.
    isql is not linked against readline at all on my RHEL 5 system.
    Do you notice any improvement after removing the files from that tar.bz file?
    Yours,
    Laurenz Albe

  • Instant client ODBC driver for Linux

    I had previously posted this under the ODBC forum, but didn't get a response there.
    I am familiar with using ODBC and visual basic under Windows. I would like to use the Oracle instant client ODBC under Red Hat ES3 within a C or C++ program to access an Oracle database.
    Where can I find documentation related to this:
    a) setting up an ODBC connection on Linux
    b) installing the Oracle instant client on Linux
    c) building an application with Oracle instant client ODBC
    Am I correct in assuming that any C/C++ ODBC code examples from windows could also be used on Linux.
    Thanks,
    Werner

    Hi,
    >>a) setting up an ODBC connection on Linux
    go to http://www.unixodbc.org/
    More information you can take a look on Note:404041.1 from Oracle Metalink
    >>b) installing the Oracle instant client on Linux
    You can take a look on this link below:
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
    Cheers

  • CORBA - idltojava for Linux for jdk1.2.2

    Hello !
    I need the idltojava compiler for linux Operating system for Jdk 1.2.2 (so the idlj for jdk1.3 will not do). I looked on the site here but only windows and solaris versions are available.Can anyone guide me to some download site where I can get this ?
    Thanks in advance,
    Lakshmi Nayak

    Hello !
    I looked at the site but could not find the idltojava for java versions before 1.3.
    However I have found out from another source that idltojava compiler for linux for java version 1.2 is not available.
    But Thanks a lot Frank-Michael for guiding me to such a good site(http://blackdown.org) for java-linux ! :-)
    Thanks,
    Lakshmi Nayak

  • Oracle instant Client and unixODBC for Linux has Error

    Hi experts,
    I have two Redhat EL 5. On the first Rehat(xxx.xxx.xxx.121 --> called Redhat1) I have installed Oracle 10g database server. On the second Redhat(xxx.xxx.xxx.123 --> called Redhat2) I want to connect to Oracle database server on xxx.xxx.xxx.121 via ODBC. But it does not work. Pls help me!
    I have done steps as following:
    Login to Redhat2 as root and type commands:
    1)Install Instant Client + sqlplus
    # rpm -ivh oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    # rpm -ivh oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm
    2)Setting environment variable
    # LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    # SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:${SQLPATH}; export SQLPATH
    3)Testing connection to Redhat1(Oracle DB server) using sqlplus
    # sqlplus abc/[email protected]:1521/lab2
    Connected.
    5)Begin to install unixODBC
    # rpm -ivh oracle-instantclient-odbc-10.2.0.4-1.i386.rpm
    # rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-kde-2.2.11-7.1.i386.rpm
    6)After installation above packages I check for existing of odbc.ini and odbcinst.ini in /etc --> ok
    # ls /etc | grep odbc
    odbc.ini
    odbcinst.ini
    7) Tar unixODBC-2.2.14-linux-x86-32.tar.gz and copy file to /usr/local/bin, /usr/local/include, /usr/local/lib
    # tar -xzf unixODBC-2.2.14-linux-x86-32.tar.gz
    # ls /usr/local/bin/
    dltest isql iusql odbc_config odbcinst
    # ls /usr/local/include
    autotest.h odbcinstext.h odbcinst.h sqlext.h sql.h sqltypes.h sqlucode.h unixodbc_conf.h uodbc_extras.h uodbc_stats.h
    # ls /usr/local/lib
    libboundparam.la libgtrtst.la libodbccr.la libodbcinst.la libodbc.la
    libboundparam.so libgtrtst.so libodbccr.so libodbcinst.so libodbc.so
    libboundparam.so.1 libgtrtst.so.1 libodbccr.so.1 libodbcinst.so.1 libodbc.so.1
    libboundparam.so.1.0.0 libgtrtst.so.1.0.0 libodbccr.so.1.0.0 libodbcinst.so.1.0.0 libodbc.so.1.0.0
    # NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
    # TNS_ADMIN=/root; export TNS_ADMIN
    # ODBCINI=/etc/odbc.ini; export ODBCINI
    7)Retest sqlplus to Redhad1(Oracle database server) with local tnsname
    # sqlplus vonphoto/vonphoto@lab2
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Mar 27 03:20:55 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    8) Edit odbc.ini and odbcinst.ini
    ---odbcinst.ini
    # Included in the unixODBC package
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    ---odbc.ini
    [ora_dns]
    Driver = Oracle 10g ODBC driver
    DSN = ora_dns
    ServerName = xxx.xxx.xxx.121
    UserID = vonphoto
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    TraceFile = /backup/sql.log
    Trace = Yes
    9)Testing the driver and the data source
    # odbcinst -q -d
    [Oracle 10g ODBC driver]
    # odbcinst -q -s
    [ora_dns]
    10) Test connection via ODBC from Redhat2(xxx.xxx.xxx.123) to Redhat1(xxx.xxx.xxx.121)
    # isql -v ora_dns
    isql: error while loading shared libraries: libreadline.so.3: cannot open shared object file: No such file or directory
    I have spent 4 days to search on the internet. But it still error.
    Pls help me.

    Apologies - thought it was a database to database connection that you were trying to create.
    isql: error while loading shared libraries: libreadline.so.3: cannot open shared object file: No such file or directoryThe readline library is in package readline-4.3-13 on RHEL4 and in readline-5.1-1.1 for RHEL5 on my servers (minor version number are of course dependent on the kernel version used).
    This is also not an ODBC or Oracle issue. It seems that isql is using rlwrap or similar - this requires the readline library. And possibly LD_LIBRARY_PATH to be set too.

  • Oracle instant Client and unixODBC for Linux not work

    Hi experts,
    I have two Redhat EL 5. On the first Rehat(xxx.xxx.xxx.121 --> called Redhat1) I have installed Oracle 10g database server. On the second Redhat(xxx.xxx.xxx.123 --> called Redhat2) I want to connect to Oracle database server on xxx.xxx.xxx.121 via ODBC. But it does not work. Pls help me!
    I have done steps as following:
    Login to Redhat2 as root and type commands:
    1)Install Instant Client + sqlplus
    # rpm -ivh oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    # rpm -ivh oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm
    2)Setting environment variable
    # LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:${LD_LIBRARY_PATH}; export LD_LIBRARY_PATH
    # SQLPATH=/usr/lib/oracle/10.2.0.4/client/lib:${SQLPATH}; export SQLPATH
    3)Testing connection to Redhat1(Oracle DB server) using sqlplus
    # sqlplus abc/[email protected]:1521/lab2
    Connected.
    5)Begin to install unixODBC
    # rpm -ivh oracle-instantclient-odbc-10.2.0.4-1.i386.rpm
    # rpm -ivh unixODBC-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-devel-2.2.11-7.1.i386.rpm
    # rpm -ivh unixODBC-kde-2.2.11-7.1.i386.rpm
    6)After installation above packages I check for existing of odbc.ini and odbcinst.ini in /etc --> ok
    # ls /etc | grep odbc
    odbc.ini
    odbcinst.ini
    7) Tar unixODBC-2.2.14-linux-x86-32.tar.gz and copy file to /usr/local/bin, /usr/local/include, /usr/local/lib
    # tar -xzf unixODBC-2.2.14-linux-x86-32.tar.gz
    # ls /usr/local/bin/
    dltest isql iusql odbc_config odbcinst
    # ls /usr/local/include
    autotest.h odbcinstext.h odbcinst.h sqlext.h sql.h sqltypes.h sqlucode.h unixodbc_conf.h uodbc_extras.h uodbc_stats.h
    # ls /usr/local/lib
    libboundparam.la libgtrtst.la libodbccr.la libodbcinst.la libodbc.la
    libboundparam.so libgtrtst.so libodbccr.so libodbcinst.so libodbc.so
    libboundparam.so.1 libgtrtst.so.1 libodbccr.so.1 libodbcinst.so.1 libodbc.so.1
    libboundparam.so.1.0.0 libgtrtst.so.1.0.0 libodbccr.so.1.0.0 libodbcinst.so.1.0.0 libodbc.so.1.0.0
    # NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG
    # TNS_ADMIN=/root; export TNS_ADMIN
    # ODBCINI=/etc/odbc.ini; export ODBCINI
    7)Retest sqlplus to Redhad1(Oracle database server) with local tnsname
    # sqlplus vonphoto/vonphoto@lab2
    SQL*Plus: Release 10.2.0.4.0 - Production on Sat Mar 27 03:20:55 2010
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    8) Edit odbc.ini and odbcinst.ini
    ---odbcinst.ini
    # Included in the unixODBC package
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    ---odbc.ini
    [ora_dns]
    Driver = Oracle 10g ODBC driver
    DSN = ora_dns
    ServerName = xxx.xxx.xxx.121
    UserID = vonphoto
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    TraceFile = /backup/sql.log
    Trace = Yes
    9)Testing the driver and the data source
    # odbcinst -q -d
    [Oracle 10g ODBC driver]
    # odbcinst -q -s
    [ora_dns]
    10) Test connection via ODBC from Redhat2(xxx.xxx.xxx.123) to Redhat1(xxx.xxx.xxx.121)
    # isql -v ora_dns
    isql: error while loading shared libraries: libreadline.so.3: cannot open shared object file: No such file or directory
    I have spent 4 days to search on the internet. But it still error.
    Pls help me.

    I don't understand your step 7 (the first step 7, actually).
    What is that unixODBC-2.2.14-linux-x86-32.tar.gz, where did it come from, and why are you doing all that?
    unixODBC should be installed after step 5.
    I guess that that is the cause of your problem.
    isql is not linked against readline at all on my RHEL 5 system.
    Do you notice any improvement after removing the files from that tar.bz file?
    Yours,
    Laurenz Albe

  • Please help me to debug a bug for instant client on linux x86-64

    I am a c junior programmer, I wrote a c demo based on <Call Interface Programmer's Guide>,but i found failed sometimes and successful somtimes when i run my demo on linux x86-64.
    I wondered why it was failed sometimes and successful sometimes, so i used command strace to debug my demo.
    I found my demo was failed when called function getsockopt  whose third argument was negative. The following code:
    getsockopt  (5, SOL_SOCKET, SO_SNDBUF, [-8683868481690533888], [4]) = 0
    my demo run successful when the third argument of function getsockopt was positive.The following code:
    getsockopt(5, SOL_SOCKET, SO_SNDBUF, [4636081913715490816], [4]) = 0
    I downloaded rpm package of instant client for linux x86-32 and installed, the same demo worked perfectly on linux x86-32.
    Did instant client for linux x86-64 has a bug?
    any advise would be great.
    Thank you!

    thanks.
    I have solved this problem that result in my c demo.
    I was a wrong way to use this function OCIBindByName. I ignored it's Indicator Variables must be 0 , -1 or -2.

  • Updated Instant Client 11.2 for Linux 64 bit is on OTN

    The 11.2 Instant Client for Linux 64bit has been updated on http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html
    It is now at the same patch level as 32 bit.

    I just tried to download these as RPMs. I was able to download the basic rpm but the sqlplus rpm and supplemental jdbc rpms failed. Instead of getting a prompt to save the file, content was displayed by the browser (binary content). It appears as is the mime type was not set correctly?
    Brad

  • SQL*Plus add-on for Instant Client Package on Solaris-SPARC 32bits ???

    Hi,
    I need sqlplus for a solaris 32bits platform, but following this page
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html, if I choose Solaris 32-bit (SPARC), it doesn't give a link to download Instant Client Package - SQL*Plus (as it does if I choose Solaris 64-bit (SPARC) or Windows 32-bit).
    I don't understand why... :(

    SQL*Plus is not supported on the 32-bit versions of 64-bit platforms. Please use the 64-bit version of SQL*Plus. Thanks!

  • Instant Client 10.2 for Linux now works with OID

    The bug that broke LDAP support in 10.2.0.1 for Linux has been fixed,
    the patch number is 4673628.
    In case anybody is interested :^)
    Yours,
    Laurenz Albe

    No, you'll have to download it from Metalink, which means that you need
    a support contract.
    Laurenz Albe

  • Instant client 10.2 for EM64T

    Where can I download the oracle client for EM64T architecture? There are only some zip files but that's not enough. First our webserver was an usual pc with one 32bit CPU. Now we have a webserver with 2xXeon EM64T. The OS is ubuntu linux. The system is working correctly (I see 4x3000 Mhz CPUs gg). On the Old webserver there was an .deb file for installing the instant client. Then I copied the files from the .zip file (for 32bit) into the installed directory. But this .deb file isn’t available for EM64T, is it? Where can I get this file or is there another workaround to connect to oracle db by using php?`
    Greets from Bavaria
    M00ser

    When I try this files (I used the Version 10.2.0.2 with the Basic and the SDK packages) I get an error when I want to make php. The configure statement is running without an error but when I want to make it I get an error:
    /usr/bin/ld: skipping incompatible /etc/instantclient/10_2/libclntsh.so when searching for –lclntsh
    /usr/bin/ld: cannot find –lclntsh
    Collect2: ld returned 1 exit status
    Make: *** [libphp4.la] Error 1
    I although have specified the LD_LIBRARY_PATH to /etc/instantclient_10_2 where I gave copied this files.
    First time I compiled php with oracle support on a normal debian pc. Now I want to install it to an 2x EM64T with an ubuntu OS. Do I need further libraries? The libaio is still installed.
    Greets M00ser
    Message was edited by:
    user516899

  • Instant Client (OCI libaries) for zLINUX

    i was searching for OCI (instant client for zLINUX) but on
    http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html
    i could not find anything for LINUX on zSERIES - can somebody tell me where i can get this files?

    We have no plans for supporting zLinux at this moment.

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

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

  • 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

  • Compiling against the 10g Instant Client in Linux

    Does anyone know if it's possible to compile and successfully link C++ programs that use the occi header against the 4 shared occi libraries that come with the 10g instant client.
    I dug out the 30 or so header files that come with the full 10g Linux version and stuck them in the /usr/include directory. This allows compilation to get done. And it appears that I am able to link against the shared libraries. At least, after the link there is an executable. This executable seg faults immediately upon a run, so there is obviously something wrong.
    The system administrator is trying to do a full install of 10g so we can compile against an Oracle home, but he's been at it for about a week with no results. He was able to get the Instant Client set up, so I'm looking for a workaround that uses only the IC and the headers.

    Thanks for the feedback.
    We aren't using a 3.xx version of gcc; it's some 2.9x version.
    Are you saying that it should be possible to link up with the shared libs without a full client install? If it is, I'll keep plugging away; but I haven't found anyone anywhere who has at any time gotten it to work.

  • Instant Client on Linux Suse 9 + PHP + APache

    Hello Everybody!
    My task is to install Instant client on NowellSuse Linux 9 for futher connections from PHP.
    For the beginning I downloaded and installed
    http://download-uk.oracle.com/otn/linux/instantclient/oracle-instantclient-basic-10.1.0.2-1.i386.rpm
    http://download-uk.oracle.com/otn/linux/instantclient/oracle-instantclient-jdbc-10.1.0.2-2.i386.rpm
    http://download-uk.oracle.com/otn/linux/instantclient/oracle-instantclient-sqlplus-10.1.0.2-1.i386.rpm
    Instalation was done using rpm -Uvh ... as in InstantClient guide was described.
    Now I want to test if it was installed well.
    To do this i created such env vars:
    LD_LIBRARY_PATH, ORACLE_HOME, TNS_ADMIN
    TNS file (tnsnames.ora) I created manually at dir etc/oracle/
    Maybe this is the problem?
    TO check instalation I run sqlplus user/pass@BASE and get errors:
    1. wrong ADDRESS
    2. that tns name not specified
    I checked if tnsnames.ora is correct, everything was fine.
    But I also noticed that in error log user was ROOT but not that I specified...
    As my knowledge in Linux is very small, so I can think that I just did not do something neccesary. I read a lot of different discussions but not find reason.
    Please help. Best regards.
    null

    Thanx!
    Now sqlplus works but only when I connect using
    sqlplus user/[email protected]/service
    If I first run sqlplus than enter user, than password (on requests) the error that service name specified wrong appears...
    tnsnames.ora is like this:
    service=
    (DESCRIPTION=
    (ADDRESS=(PROTOKOL=tcp)(HOST=10.10.10.1))
    (CONNECT_DATA=
    (SERVICE_NAME=service)))
    path of TNS_ADMIN is set to /usr/lib/oracle/10.2.0.1/client/network/admin/tnsnames.ora
    So is this error OK when connection is done in different way, or not?
    Regards.

Maybe you are looking for

  • How can I install after a hard drive failure with only upgrade disk?

    I've been using Photoshop since 1998 but my HDD recently suffered a complete failure and I've had to change the drive. Unfortunately, I don't have my original Photoshop disk, only a CS2 and CS5 upgrade disk (with both serial numbers). Is there any wa

  • Security warning wants to install certification for a remote computer

    Every bootup, before opening anything, i get a Security Warning that a "oracle" certificate wants to install for a remote computer to access my machine. I always click no, having no idea what this is, and I certainly do not want to allow a remote com

  • Error: Thead is being stopped

    Hi All, I get an error in my code: "Thread is being stopped" It is an exception that is thrown and looks like it's got something to do with the RecordSet object. I am attempting to get the list of sales order drafts from the database. I want to conve

  • Hi all ,  oops concepts

    hi all this regarding oops concepts. i would like to know if i can write any name for 1. class 2. object. 3. method??? how many class (es) are available ? pl provide the list of classes how many method (s) are available ? pl provide the list of metho

  • How full can I let a 256GB PCIe SSD get?

    Hi all, How full can an SSD get before it becomes a problem/degrades performance or causes excessive wear (or will Apple's wear leveling take care of the excessive wear potential)? I'm looking at a 2014 2.6HGz model with 16GB of RAM and the 256GB PCI