ODBC on Linux

I have C++ code that uses ODBC to access a data source. I would like to port this code to run on Linux and have it access an Oracle 8i database also on Linux. Yes I can get ODBC drivers for 8i, but if I understand the drivers correctly they just provide a service that takes tcp/ip, or remote command, requests and forward them to the database. I will need these drivers to forward ODBC requests to the database. What I need is either a C library that takes ODBC calls and converts them to some ipc mechanism and talks to the Oracle database, or a cook book chart that maps ODBC calls to OCI calls. Can this be found anywhere? I am sorry if this is not the correct forum (if it isn't please direct me to the proper forum). I've already tried the Linux forum but they were useless.
Thanks,
Andy.

Check with Merant Corp at www.merant.com. The last time I checked they had ODBC drivers at least on Solaris sparc, HP, and AIX.

Similar Messages

  • Trouble using ODBC on Linux

    Hi there.
    I'm fairly new to ODBC, so I apologize in advance if I am missing
    some cirtical piece of information in my question.
    I am trying to setup ODBC so that I can connect to my Oracle
    database from RODBC (a package within the R statistical package),
    where R is running on my Linux box where I installed the instant
    client.
    I have installed the 10.2.0.3 version of the instant client
    (basic, odbc, and sqlplus pieces) on my Linux machine.
    I have set LD_LIBRARY_PATH to include the new lib directory
    /usr/lib/oracle/10.2.0.3/client/lib
    which contains the libsqora.so.10.1 file.
    uname -a yields the following:
    Linux stacw34 2.6.9-78.0.0.0.1.ELsmp #1 SMP Fri Jul 25 14:41:56 EDT 2008 i686 i686 i386 GNU/Linux
    I have set TNS_ADMIN to point to a directory with a tnsnames.ora
    file that contains the following entry:
    nickel =
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=<my_machine>)
    (PORT=1521)
    (CONNECT_DATA=
    (SERVICE_NAME=nickel.regress.rdbms.dev.us.oracle.com)
    I have verified that the tnsnames entry is working correctly
    by connecting to the database using the instant client sqlplus
    executable.
    At this point, I am trying to connect to the database using the
    ODBC piece through RODBC. I have found that the errors I get from R
    seem to be the same as those from isql, so I am trying to use
    isql to find the root of the problem. Is there a better tool
    to validate that ODBC is working on linux?
    Anyway, I installed the odbc piece from the instant client, but
    I had to do some editing by hand due to the way the machine
    is configured. My /etc/odbcinst.ini file contains:
    [PostgreSQL]
    Description          = ODBC for PostgreSQL
    Driver          = /usr/lib/libodbcpsql.so
    Driver64          =
    Setup          = /usr/lib/libodbcpsqlS.so
    Setup64          =
    UsageCount          =
    CPTimeout          =
    CPReuse          =
    FileUsage          = 1
    [Oracle 10g ODBC driver]
    Description = Oracle ODBC driver for Oracle 10g
    Driver = /usr/lib/oracle/10.2.0.3/client/lib/libsqora.so.10.1
    Setup =
    FileUsage =
    CPTimeout =
    CPReuse =
    And my ~/.odbc.ini file contains:
    [nickel]
    Application Attributes = T
    Attributes = W
    BatchAutocommitMode = IfAllSuccessful
    BindAsFLOAT = F
    CloseCursor = F
    DisableDPM = F
    DisableMTS = T
    Driver = Oracle 10g ODBC driver
    DSN = nickel
    EXECSchemaOpt =
    EXECSyntax = T
    Failover = T
    FailoverDelay = 10
    FailoverRetryCount = 10
    FetchBufferSize = 64000
    ForceWCHAR = F
    Lobs = T
    Longs = T
    MetadataIdDefault = F
    QueryTimeout = T
    ResultSets = T
    ServerName =
    SQLGetData extensions = F
    Translation DLL =
    Translation Option = 0
    DisableRULEHint = T
    UserID =
    When I run isql as follows:
    isql -v nickel
    I get the following error:
    ORA-12162: TNS:net service name is incorrectly specified
    It seems to be that this error occurs because I don't have
    ORACLE_SID set. If I set ORACLE_SID to nickel, and then
    run the same command, now I get:
    ORA-12545: Connect failed because target host or object does not exist
    The sqlnet.log file contains the following:
    Fatal NI connect error 12545, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/usr/lib/oracle/10.2.0.3/client/lib/bin/oracle)(ARGV0=oraclenickel)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=isql@<myhost>)(HOST=<myhost>)(USER=<myuser>))))
    VERSION INFORMATION:
         TNS for Linux: Version 10.2.0.3.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 10.2.0.3.0 - Production
    Time: 20-MAR-2009 14:02:02
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12545
    TNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    nt secondary err code: 2
    nt OS err code: 0
    I can't figure out what is wrong with my odbc setup which would lead
    isql (and probably RODBC) to use this connect string (beq protocol, etc.).
    I am guessing that is where the problem stems from.
    Can you help me figure out how to find out what I am doing wrong
    when configuring the odbc setup?
    Thanks,
    Ari
    Edited by: amozes on Mar 20, 2009 11:06 AM

    That's easily explained.
    As you find documented in
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15699/post_inst_task.htm#sthref398
    you have to set 'ServerName' in odbc.ini to your TNS alias, in your case:
    ServerName = nickel
    Since you did not give a ServerName, Oracle assumed that you want to connect to a local database.
    As you rightly assume, the ORA-12162 indicates that ORACLE_SID is not set, which is needed for a local connection.
    If you set ORACLE_SID, Oracle will try to establish a local connection by executing a server process $ORACLE_HOME/bin/oracle.
    Since this executable cannot be found, you get the ORA-12545.
    Yours,
    Laurenz Albe
    PS: Your solution is better, as it does not require a tnsnames.ora file.

  • Configure ASE ODBC on Linux

    Hi all,
    We are trying to installed the SAP ASE 16 database on Linux.
    But is it necessary to set ASE ODBC and the ASE ODBC driver manager?
    We are getting an error when we are trying to verify the connection to database..
    By default it is using unixODBC.
    We have already set the database details in the odbc.ini file as well by using the template file.
    But we get the error 'Could not connect to SQL'.
    Do we have to use driver manger to connect ASE ODBC to UnixODBC?
    Attaching the errors :
    version details:

    Try typing in the username and password:
    isql sampledsn sa sybase
    What I used is attached.
    Regards,
    Ryan

  • ODBC on Linux: libsqora.so.10.1: undefined symbol: _tcsnccmp

    I try to access an Oracle database via iODBC from openSUSE Linux 10.3.
    I have installed the following packages from the Oracle web page:
    oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    oracle-instantclient-devel-10.2.0.4-1.i386.rpm
    oracle-instantclient-odbc-10.2.0.4-1.i386.rpm
    oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm
    and I have installed from iodbc.org
    libiodbc-3.52.6-1.i386.rpm
    libiodbc-admin-3.52.6-1.i386.rpm
    libiodbc-devel-3.52.6-1.i386.rpm
    After a bit of configuration I called:
    $ iodbctest NMR2
    iODBC Demonstration program
    This program shows an interactive SQL processor
    Driver Manager: 03.52.0607.1008
    1: SQLDriverConnect = [iODBC][Driver Manager]/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1: undefined symbol: _tcsnccmp (0) SQLSTATE=00000
    2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
    What is _tcsnccmp and where can I get it from?
    Googling around leads me to a prototype
    int tcsnccmp(const TXCHAR* string1, const TXCHAR* string2, sizet count);
    and it seems that it is a localised string comparison routine. I found it in Windows and
    WINE documentations - do I have to install WINE in order to use Oracle ODBC?

    not sure whether installing WINE will help, try with 11.1.0.6.0 version of instant client libraries.

  • OBIEE 10.1.3.4.1 & MySQL ODBC on linux.  Generated SQL is wrong.

    Anyone know how to fix this situation?
    We are running OBIEE 10.1.3.4.1 on Redhat Linux 5.3 with MySQL ODBC connector.
    When connecting to MySQL we have need to connect to multiple databases.
    Problem is that OBIEE is generating incorrect sql.
    Example:
    select * from db_name..table_name;
    Note the two dots between db and table.
    This is incorrect syntax for MySQL. Should be only 1 dot.
    But I can't find a way to get OBIEE to only use 1 dot.

    MySQL is not a supported Datasource.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf

  • ODI reading Excel via ODBC on Linux

    I've got ODI loading data from Excel via ODBC with everything running on Windows, and it runs fine!
    But will this work when I run ODI on a Linux platform? Will I have to buy some kind of ODBC driver for Excel under Linux? Has anyone done this before?
    Any help gratefully received!
    Thanks
    A

    There exists a native JDBC driver for excel, it is a sourcefourge project. This allows you to read excel data irrespective of platform through JDBC rather than having to use the JDBC/ODBC bridge.

  • Cscheck error when testing ODBC on Linux

    I am trying to test ODBC setup on linux with the cscheck utility at /bobje/enterprise120/linux_x86/dataAccess/RDBMS/connectionServer/tools
    I have sourced ./env.sh before and then when I try ./cscheck I get:
    ./cscheck: error while loading shared libraries: libcsck_core.so: cannot open shared object file: No such file or directory
    I have the libcsck_core.so at /bobje/enterprise120/linux_x86 directory and I have included this in the PATH and LD_LIBRARY_PATH.
    Any ideas where the libcsck_core.so should be located for the cscheck to work ?
    Thanks, Timo

    The real issue is here when trying to retrieve data with WebI report:
    A database error occured. The database error text is: (CS) "DBDriver failed to load : /data/boxi/boserver/bobje/enterprise120/linux_x86/dataAccess/RDBMS/connectionServer/libdbd_mssql.so (libodbc.so: cannot open shared object file: No such file or directory)" . (WIS 10901)
    libodbc.so is located at:
    /data/boxi/boserver/bobje/enterprise120/linux_x86/odbc/lib/libodbc.so
    and it is in LD_LIBRARY_PATH
    /data/boxi/boserver/bobje/enterprise120/linux_x86/odbc/lib
    I wonder where libodbc.so should be located ?

  • Configure ODBC on Linux

    I have ODBC drivers for Cache database for linux. My ODI 11g install is on linux (OEL 5). Is there a way to configure the ODBC drivers to connect to the database?
    Thanks

    I need help, in our project we have setup new solaris server and DBA said they have installed Oracle.
    SQLPLUS client is working fine, My question, I have asked my DBA tell me the path where the drivers are installed i.e. .so and I need ODBC.ini file to put my user credentials.
    so that i can use that data source in teradata programming. now the problem is he saying the drivers has been installed using mount and ask your application owner, he only cares oracle native drivers.
    please tell me how to solve this problem.
    I know thrid party odbc drivers would solve this issue, do not which company drivers i should ask.

  • JDBC/ODBC on linux?

    I am using Dreamweaver UltraDev to make pages that have to connect with a database. I am making the pages in jsp. Do you know how I can run a JDBC driver on linux? I am not sure, but I think I may also need an ODBC driver running as well. I am using redhat 7.1, apache 1.3.20, JServ, and GnuJSP.

    I am using Dreamweaver UltraDev to make pages that
    have to connect with a database. I am making the pages
    in jsp. Do you know how I can run a JDBC driver on
    linux? The same way you would run it on any other platform. That is the beauty of JDBC.
    I am not sure, but I think I may also need an
    ODBC driver running as well. For what? What database are you running?
    I am using redhat 7.1,
    apache 1.3.20, JServ, and GnuJSP.Joseph Schlecht

  • Help Using Instant Client ODBC on Linux

    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

    We are also interested in the very same thing. We are using third party compiler called SIMSCRIPT from CACI which has a module called SDBC for database connectivity. SDBC requires ODBC to be installed/configured. Our application is for Linux, therefore we are interested in using the ODBC driver on Linux clients to connect Oracle database servers on Linux and Sparc. I see the odbc related zip (for 10g) and rpm (for 11g) instant client files on the OTN Instant Client download page. How to install/configure odbc instant client? Is there a document/whitepaper/Metalink Note ?
    Thank you

  • Databases for ODBC on linux/unix

    will these commands work on both linux and unix or just unix?
    gunzip < mysql-xxxx.tar.gz | tar xvf -
    ./configure with-apache=/path/to/apache/dir with-mysql=/usr/local/mysql

    I would give it a try all of the commands you listed exist on my redhat box ie. tar, gunzip, ./configure.
    but when you are untarring you can type:
    tar -zxvf xxx.tar
    and it will untar and unzip it for you.
    what program are you trying to install?

  • ODBC in Linux

    When adding any DNS in ODBCConfig for PostgreSQL it say's
    Can't create list for PostgreSQL.
    What am I doing wrong?

    When adding any DNS in ODBCConfig for PostgreSQLit
    say'sPresumably you are using java? So why don't youjust
    use the type-4 driver for PostgreSQL?Well, I really don't know what is it, but if it is
    able to work why not.
    Can you gimme a link?You are using java? And you are writing something in java to access the database? Then a type 4 driver is a jdbc driver type. And you find it for your database at the site where you got the database. (Just google for PostgreSQL).

  • Data services on Linux to MS SQL ODBC connection

    We have DS 4.1 SP2 running on Linux and trying to connect to MS SQL database via odbc. The admin guide tells you to modify the ds_odbc.ini file with an entry like this:
    [test_Microsoft_SQL_SERVER]
    Driver = <install_location>/lib/libodbc.so
    RebrandedLib = TRUE
    where install location is location of datadirect ODBC driver. But the problem is there is no libodbc.so in this library. There is a libodc.a file there instead.
    Secondly, it also tells us to modify the file referenced by $ODBCINI with the following entry. In my case, ODBCINI also references to ds_odbc.ini under /dataservices/bin folder !!. Also, below it tells you to enter the /lib/DAmsssxx.so file location. But there is no such file under datadirect/lib folder. There is a DAsql25.so instead.
    [test_Microsoft_SQL_SERVER]
    Driver=<install_location>/lib/[DA][DD]msssxx.so
    Description=DataDirect <current version number> SQL Server Wire Protocol
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=<database_name>
    EnableQuotedIdentifiers=1
    HostName=<SQL_Server_host>
    LoadBalancing=0
    LogonID=
    Password=
    PortNumber=<SQL_Server_server_port>
    QuotedId=No
    ReportCodePageConversionErrors=0
    DriverExpirationBehavior=1
    What should I do ? which file do I need to modify exactly and with which library ?? I don't have to modify the odbc.ini file at all ??
    Do I need to install the Data direct drivers first ?? if so, how ?
    Thanks
    BV

    Hi,
    ODBC connectivity from your machine will not help as the connectivity to SQL Server will be established from the job server.
    On the connectivity test, can you please check with your Linux admin. You can also refer to the following link for some details.
    Links:
    http://www.easysoft.com/developer/interfaces/odbc/linux.html
    https://wiki.archlinux.org/index.php/Odbc
    Can you please check the following link. this is specific to ODBC connectivity for Linux based job server.
    Links:
    http://wiki.sdn.sap.com/wiki/display/EIM/ODBC+connections+from+a+Linux+%28or+UNIX%29+jobserver
    The below is for SQL server based connectivity from Linux.
    Links:
    http://wiki.sdn.sap.com/wiki/display/EIM/To+configure+DataDirect+ODBC+on+Linux+and+Unix
    Or Please refer below thread
    Link:
    Data Services 4.0 connectivity to SQL Server 2005
    Thanks,
    Daya

  • MS SQL Server ODBC Connection On Linux

    Hi All,
    I am badly stuck with configuration of MS SQL Server ODBC connection on SUSE Linux 10. I am almost tried everything I got from SAP notes but still getting ODBC Lib Data Direct drivers could not be loaded IES 10901.
    ENV: SAP BO 4.0 SP7, MS SQL SRV 2008
    Here is what I have tried so far:
    1) Modified env.sh under /install_dir/sap_bobj/setup and added the line in bold.
    ":${BOBJEDIR}enterprise_xi40/linux_x64/odbc/lib:${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/odbc/lib"
    The line should look like this
    LIBRARYPATH="$LIBDIR:$LIBDIR32:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:${CRPEPATH64}:${CRPEPATH}:${MWHOME}:$PLUGINDIST/desktop/CrystalEnterprise.Report:
    ${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/ras:${BOBJEDIR}mysql/lib:${BOBJEDIR}enterprise_xi40/linux_x64/odbc/lib:${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/odbc/lib”
    2) We have .odbc.ini file in the home directory of our BO user on linux. Added following DSN entry (Same DSN is created on client and odbc connection has been created on the universe using this DSN:
    boeadm01:~> vi .odbc.ini
    [DSN_NAME]
    Driver=/opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib/CRsqls24.so
    Description=DataDirect 6.0 SQL Server Native Wire Protocol
    HostName=SQL Server Hostname
    Database=SQL DB Name
    QuotedId=Yes
    AnsiNPW=No
    3) We then added the environment variables and LIBPATH in BO user .profile file.
    boeadm01:~> vi .profile
    #Sql Server Environment
    ODBCINI=$HOME/.odbc.ini
    export ODBCINI
    LD_LIBRARY_PATH=/opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib
    export LD_LIBRARY_PATH
    4) Did echo to check the LIBPATH
    boeadm01:~> echo $LD_LIBRARY_PATH
    /opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib
    5) Modified sqlsrv.sbo under /install_dir/sap_bobj/enterprise_xi40/dataAccess/connectionServer/odbc
      <Parameter Name="Use DataDirect OEM Driver" Platform="Unix">Yes</Parameter>
    6) Restarted BO node.
    Tried creating a new webi report and got the error mentioned above.
    Please help!!!
    Thanks,
    Anshul

    Hi Anshul,
    Please refer the below KBA & SCN thread regarding your issue.
    Data Direct ODBC Drivers for SAP BusinessObjects Data Services
    Link:
    http://scn.sap.com/docs/DOC-8898
    Business Objects XIR2 Link:
    Link:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50eca18b-d13e-2b10-a8ab-9738927177d6?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20e11153-5c3f-2b10-f9be-974dc4749fd8?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/70eabcba-5c64-2b10-6db2-ae28ae4d1295?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/4039c80b-6b3f-2b10-64a4-e8e591292e89?quicklink=index&overridelayout=true
    KBA:
    1291142 - Web Intelligence reporting using DataDirect drivers in Unix
    1292899 - Data Direct Drivers for Crystal Report in Unix environment
    SQL Server ODBC Driver for Linux/Unix Getting Started Tutorial
    Link:
    http://www.easysoft.com/products/data_access/odbc-sql-server-driver/getting-started.html
    Step by Step: Setting up Linux ODBC driver for SQL Server
    Link:
    http://blogs.technet.com/b/sqlman/archive/2012/08/03/step-by-step-setting-up-linux-odbc-driver-for-sql-server.aspx
    Microsoft SQL Server ODBC driver for Linux
    Link:
    http://www.codesynthesis.com/~boris/blog/2011/12/02/microsoft-sql-server-odbc-driver-linux/
    Thanks,
    Daya

  • Linux ODBC Errors

    I'm trying to port my setup from a Windows machine to a Linux server and haven't been able to thus far. The DB is on one server and the OBIEE instance in on a different server. I have an Oracle Client installed and working on the OBIEE server as I check my DB connection in the oemapp utility. The ODBC setup on the other hand hasn't gone smoothly at all.
    When looking at the OBIEE installation manual it mentions a file named 'tdata.so'; I don't have this file anywhere on my server. I found a posting on Metalink about setting up ODBC in Linux and haven't been able to get it to work successfully thus far. Does anyone have a step by step tutorial for setting up OBIEE in Linux? Thanks for the help in advance as I'm really stuck here.

    Hi there,
    I'm also having some problems trying to connect to an Oracle DB on PHP, using unixODBC and Oracle's Instant Client.
    I've followed every usefull information from tutorials that google pointed to but when I try to test the connection with isql I always get this error:
    #  isql -v SPIDER
    [08004][unixODBC][Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
    [ISQL]ERROR: Could not SQLConnectFor what I've found this problem seems to be very frequent but most of the help applies to the windows.
    I've been retrying and searching for too long so I need some outside and more experienced help. :rolleyes:
    This is my /opt/oracle/instantclient:
    /opt/oracle/instantclient #  ls -l
    total 102716
    -r-xr-xr-x 1 root root    91881 2006-11-15 20:38 ODBCRelnotesJA.htm
    -r-xr-xr-x 1 root root    58416 2006-11-15 20:38 ODBCRelnotesUS.htm
    -r--r--r-- 1 root root    21548 2006-11-15 20:38 ODBC_IC_Readme_Linux.html
    -rw-r--r-- 1 root root      387 2008-01-31 23:17 TNSNAMES.ORA
    -r--r--r-- 1 root root  1600090 2006-11-15 20:37 classes12.jar
    -rwxrwxr-x 1 root root    67053 2006-11-15 20:37 genezi
    -r--r--r-- 1 root root     1525 2006-11-15 20:38 glogin.sql
    -rwxrwxr-x 1 root root 18825267 2006-11-15 20:37 libclntsh.so.10.1
    -r-xr-xr-x 1 root root  5486009 2006-11-15 20:37 libnnz10.so
    -rwxrwxr-x 1 root root  1398088 2006-11-15 20:37 libocci.so.10.1
    -rwxrwxr-x 1 root root 72480394 2006-11-15 20:37 libociei.so
    -r-xr-xr-x 1 root root   120135 2006-11-15 20:37 libocijdbc10.so
    -r-xr-xr-x 1 root root  1057777 2006-11-15 20:38 libsqlplus.so
    -r-xr-xr-x 1 root root  1434235 2006-11-15 20:38 libsqlplusic.so
    lrwxrwxrwx 1 root root       16 2008-01-31 23:05 libsqora.so.1 -> libsqora.so.10.1
    -rwxrwxr-x 1 root root   772395 2006-11-15 20:38 libsqora.so.10.1
    -r--r--r-- 1 root root     3457 2006-11-15 20:38 odbc_update_ini.sh
    -r--r--r-- 1 root root  1545954 2006-11-15 20:37 ojdbc14.jar
    drwxrwxr-x 4 root root     4096 2006-11-15 20:38 sdk
    -r-xr-xr-x 1 root root     8867 2006-11-15 20:38 sqlplusMy odbc.ini:
    [SPIDER]
    Description     = BD database test
    Driver          = oracle-driver
    Server          = spider.di.uminho.pt
    Database        = TRABS
    Port            = 1521and my odbcinst.ini:
    [oracle-driver]
    Description     = Oracle ODBC driver for Oracle 11g
    Driver          = /opt/oracle/instantclient/libsqora.so.1
    FileUsage = 1My TNSNAMES.ORA:
    SPIDER =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (PROTOCOL = TCP)
            (HOST = spider.di.uminho.pt)
            (PORT = 1521)
        (CONNECT_DATA =
          (SERVICE_NAME = TRABS)
      )My env:
    TWO_TASK=TRABS
    LD_LIBRARY_PATH=/opt/oracle/instantclient
    TNS_ADMIN=/opt/oracle/instantclient
    PATH=/opt/oracle/instantclient:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/share/eclipse:/opt/java/bin:/opt/java/jre/bin:/opt/mozilla/bin
    ORACLE_HOME=/opt/oracle/instantclientI've wasted many hours on this, but I think I'm about to give up to this last error.
    This page http://ora-12154.ora-code.com/ points to problems accessing/reading the TNSNAMES.ORA but I can't see what's wrong with my configuration.
    Any help would be really appreciated.:)
    EDIT: Maybe this wasn't the right forum for this post, so I've created a new Thread on Linux category:
    PHP: ODBC + Oracle Instant Client
    Message was edited by:
    VuDu

Maybe you are looking for

  • Problems with the installation of iTunes on Windows Vista

    When I download any version of itunes error occurs' Microsoft.VC80.CRT, Version =8.0.50727.4053'',''type =''win32'',''1fc8b3b9 ... publicKeyToken = Architecture =''or86''. Please refer to Help and Support for more information. HRESULT: 0x800736FD'. H

  • JBO-33035: Row currency has changed since the user interface was rendered

    First - Yes I have read a number of the postings regarding this error - HOWEVER - there seems to be a 'rather' serious side effect that I need to get fixed. Am dropping on a a UIX datapage a datacontrol VO component as a Search Form. I have added Del

  • Setting the display to binary

    Does anyone know how to set the CWIMAQViewer Palette to binary using C++? I know how to do it in Visual Basic, but I can't figure it out in C++. I need to do it programatically. Thanks in advance.

  • Need Driver Software for OKI C110

    Have just obtained OKI C110 Color Laser Printer and cannot find driver software. They say I can us a 'Post Scipt', PS,  driver for this model but having difficulty setting it up. Can any one help ?

  • Only one PI per server object!

    As the result of a SR for a problem we were having, it appears that oracle lite does not support more than one publication item being created even in different applications/publications for the same server table/view 10.2 only objects if you try to c