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

Similar Messages

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

  • 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

  • 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

  • Oracle(tm) Client and Networking Components were not found..

    I installed Oracle 9i Client tools on my machine (Win2000 Server), and successfully installed the Oracle ODBC Driver, however, upon using "Oracle in OraHome92" option in my Administrative Tools System DSN I receive the following error upon attempt to connect to the database with my ASP scripts:
    "The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and part of Oracle Version 7.3.."
    I also receive the following error on my page:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
    I have tried every trick I know and at this point am out of options. If anyone has a suggestion I'd really appreciate it.
    Thanx
    Phil

    Hi,
    I have been trying to setup Microsoft ODBC drivers on my Win7 64 bit laptop to work with my code.
    Every time it gives me an error msg "Oracle(tm) client and networking components were not found"
    ple help me in this. i have tried downloading and installing odbc driver from oracle site but none work.
    Can someone guide me as which other software need to be install.
    here is the connection string I am using, please help:
    strDBConnString = "Driver={Microsoft ODBC for Oracle};" & _
    "CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST="&THostName&")(PORT="&TPort&"))" & _
    "(CONNECT_DATA=(SID="&TSID&")));Uid="&TUserID&";Pwd="&TPassword&";"
    Thanks

  • 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

  • Oracle instant Client and memory

    Hello everybody,
    I have just installed the Oracle Instant Client on my Linux server (Redhat distibution), I recompiled PHP (4.4.2 version) with the oci8 extensions and I reboot Apache (1.3.34 version)...
    In short, the installation of OIC goes perfectly (No error messages...), and I can request a remote Oracle server from a PHP file. (All this, for one PHP script that I use only once a day, to load data in a MySQL table).
    However, since I installed the OIC, my Apache processes exceeds the 200 MB and my server has a commit memory more than 2GB (sometimes it goes until 5GB).
    Is it a problem that can come from the OIC ? Maybe, a parameter could fix that problem ?
    Thx in advance.
    Maat

    If you can't upgrade from PHP4, you should upgrade at least the OCI8
    extension. All PHP 4 releases have a very, very old version of OCI8.
    Steps to upgrade are given in the free Underground PHP and Oracle Manual
    The Instant Client Basic package uses a chunk of (shareable) memory
    for all its NLS data. The Instant Client Lite package uses a smaller
    footprint.
    Make sure you know what you are measuring and whether what you are
    seeing actually has an effect on performance.
    -- cj

  • 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

  • Oracle Instant Client and OUT Parameter of custom type in Stored Procedures

    Hi @ all!
    I try to set up a simple client application, that calls a stored procedure via Instant Client from C#.
    The stored procedure and assiciated types looks like this:
    TYPE MYVALUE AS OBJECT
          Id      INTEGER,
          value     FLOAT
    TYPE MYVALUELIST AS TABLE OF MYVALUE;
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT MYVALUELIST)
                                           IS
    ...I created an Oracle Command executing this SP and added OracleParameters for ID and (where I got stuck) the RESULTSET.
    Is it possible to pass a parameter with a custom type from C# in some way?
    I already tried it as a function with SELECT * FROM TABLE(ReadValues(1));
    With my parameter RESULTSET as the RETURN type. But since I use DML within the procedure, this does not work inside of a query...
    Any suggestions?
    Thanks in advance!

    Hi Greg!
    Sorry, I misunderstood the forum topic then. =(
    Anyway, in the example you provided in the link, this is nearly exactly my situation. But there the Oracle.DataAccess.Client is used, where the OracleDBType can be called to initialize an object of type person. I use the instant client libraries called by using System.Data.OracleClient. There is only the OracleType enum, that does not contain an object or something similar.
    So I do it right now after trying a bit with a ref cursor parameter and an OracleDataAdapter - the ref cursor is passed back from Oracle as a DataReader, so die DataAdapter is able to use it for a .Fill():
    OracleCommand cmd = new OracleCommand();
    cmd.Parameters.Add("RESULTSET", OracleType.Cursor).Direction = ParameterDirection.Output;
    OracleDataAdapter odr = new OracleDataAdapter(cmd);
    DataTable result = new DataTable();
    odr.Fill(result);Within my stored procedure I just added the following OUT parameter:
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT sys_refcursor)
                                           IS
    currentlist MYVALUELIST;
    ... [Adding elements to that list] ...
    OPEN resultset for select * from TABLE(currentlist);It works now, but I don't like that solution that much since I'm always afraid that there are lots of opened cursors idyling around. Do I have to close this one explicitly after filling my table by the DataAdapter?
    Regards

  • Managed Clients and Time Machine Quota Not Working

    We operate a Mac OS X 10.6.4 Server with 10.6.4 Clients; the clients are all bound to the OpenDirectory and all the laptops should be backed up using TimeMachine Server. Therefore we created a computer group which contains all the client machine records of the laptops and defined managed TimeMachine preferences for this computer group:
    - the TimeMachine server URL: afp://server.domain.tld/TimeMachine/
    - „startup volume only“, „skip system files“ and „back up automatically“ are enabled.
    - and a backup limit of 50 GB is set.
    If I run „mcxquery“ on the laptops, the settings are displayed. And the TimeMachine backup works.
    But … but the size limit of 50 GB isn’t respected, all client images grow „infinitely“.
    $ mcxquery
    com.apple.MCX.TimeMachine
    AutoBackup laptops (Computer Group) always 1
    BackupAllVolumes laptops (Computer Group) always 0
    BackupDestURL laptops (Computer Group) always afp://server.domain.tld/TimeMachine/
    BackupSizeMB laptops (Computer Group) always 51200
    BackupSkipSys laptops (Computer Group) always 1
    What am I missing!?
    Thanks
    Alex

    I presume the bought a time machine means a time capsule.
    How did you migrate the Time Machine files?
    From where? A Time Capsule or external drive?
    It is difficult to get TM working with Yosemite.. since it doesn't work after the upgrade on the old TM backup.. it will not work on the migrated files either.
    You simply start a new backup and store the old backups for a few months until you are ready to dump them.
    The instructions for inheriting old backups is B5 and B6 here.
    http://pondini.org/TM/Troubleshooting.html
    However it is just unlikely to work.. TM in Yosemite is very different. Broken even.
    I also strongly recommend people to use Carbon Copy Cloner or some other 3rd party backup until Apple get the bugs fixed. And after several months.. they are still rampant.

  • Lion and Winzip for mac not working

    Just upgraded to Lion and Winzip for mac no longer functions any suggestions to fix or workaround?

    Any special reason for using WinZip for MAc ?
    In need of compatibility with Windows PCs ?
    YemuZip http://www.macupdate.com/app/mac/12350/yemuzip is freeware.
    Others to be found/tried http://www.macupdate.com/find/mac/zip
    Stefan

  • VPN Client and Dynamic isakmp keys not working

    Hi,
    I'm trying to enable DMVPN endpoints from dynamic IP addresses, e.g. adding in:
    crypto isakmp key XXXXXXX address 0.0.0.0 0.0.0.0 no-xauth
    The problem is when I add this line, it breaks our remote VPN Client.  Removing the line makes everything work fine again, except I can't add a DMVPN endpoint that has a dynamic IP.
    Presently all DMVPN spokes have static IP addresses configured and individual keys for each (I'm trying to simply/cut down our config and use a single key for all of them plus enable staff from home on dynamic IP's).
    I can't tell if this is an IOS bug, or if I need to configure something differently.
    Our VPN client is configured as a dynamic map, e.g.:
    crypto isakmp client configuration group vpnclient
    key RAH RAH RAH
    etc.
    crypto isakmp profile vpnclient
       match identity group vpnclient
       client authentication list vpnuser
       isakmp authorization list vpngroup
       client configuration address respond
    crypto ipsec transform-set VPNCLIENT esp-aes 256 esp-sha-hmac
    crypto dynamic-map vpnclient 10
    set transform-set VPNCLIENT
    set pfs group2
    set isakmp-profile vpnclient
    crypto map vpn 65535 ipsec-isakmp dynamic vpnclient
    And then attached to my WAN interface as crypto map.

    Hi Scott,
    What IOS Version are you using ? I don't see any reason that this command would break Remote VPN Connectivity.
    Maybe you can try
    crypto isakmp key XXXXXXX address 0.0.0.0 0.0.0.0 (remove the no-xauth, as it's not needed).
    Otherwise, you may share output of debug crypto isakmp to see exactly what is failing when the remote users are connecting.
    Regards,
    Bastien

  • Excel integration with Entry and Approval for SSM not working

    Iu2019m having trouble getting excel integrated with E&A for being able to enter large number of historic data points into a cube-built model u2013 Iu2019ve gone through all the docs several times and there is no good concrete explanation on how to do this. I keep getting the following error message:
    Error opening Excel Automation server can't create object. This can be caused by:
    1. - The application is not installed on your machine
    2. - The browser security does not support ActiveX scripts.
    3. - Your were prompted to run ActiveX and you said No, if that is the cause close all browser instances and reopen.
    However, I've done the following:
    -          Iu2019ve installed the excel add-in on both the server and my local machine, and Iu2019ve enabled the add-in part in Excel on my local machine.
    -          The browser security is definitely set to accept all active X scripts
    -          I am never prompted to run activeX when I select u201CHistorical Datau201D within entry/approval. I just get the above error message.
    -          Iu2019ve flushed cache and restarted listener several times.
    What am I missing? I donu2019t see it in any of the docs.
    Thanks!

    Robb,
    Looking at what you've done, there doesn't seem to be an obvious answer. The best suggestion I can make is to fill out a support ticket on this. There must be other factors at work here that will require a deeper look.
    Regards,
    Bob

  • Linux ODBC Instant Client and Web access?

    Hi,
    I have downloaded instant client 10.2 and the corresponding ODBC RPM, installed them on a CentOS 4.7 (32 bits) Linux machine. I have also installed UnixODBC on this machine. After a lot of experiments and searches on Internet, I have finally obtained a working state. I.e. using DataManager to test the connection, I access to the Oracle Server that is on another computer.
    Now, I am in the second step of my tests. I have to access to the database through Internet. The scheme is the following:
    1- a web client is connected, to my web server (server is HTTPD),
    2- the web server has to access to the Oracle server by using the ODBC Instant Client.
    But this does not work yet. When I try this configuration, I see the error "*can't find the lib libsqora.so.10.1. libcintch.so.10.1 cannot open shared object library*". To solve this problem, I have to tried to define (and export) LD_LIBRARY_PATH in the /etc/sysconfg/httpd file. But this does not work.
    Does anyone has a solution?
    Thanks in advance.

    here, the trace from the log file:
    [ODBC][8089][SQLConnect.c][3549]
              Entry:
                   Connection = 0x81db4a0
                   Server Name = [GTModus][length = 7 (SQL_NTS)]
                   User Name = [GTModus][length = 7 (SQL_NTS)]
                   Authentication = [*******][length = 7 (SQL_NTS)]
              UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'
    [ODBC][8089][SQLConnect.c][1012]Can't open lib '/usr/lib/oracle/10.2.0.4/client/lib/libsqora.so.10.1' : libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Concerning exporting LD_LIBRARY_PATH I did as explained in one of the few posts found on internet. I have also tested by modifying the httpd.conf file by adding SetEnv directives. But whatever the changes I did, it seems that, through internet, the environment is lost.

  • Error Compiling php 5.1.6 with Oracle Instant Client 10.1.0.5 on Fedora 5

    Hello
    I have Oracle 10.1.0 enterprise database installed on a Windows 2003 server.
    I have another machine that has Fedora Core 5 installed on it. I downloaded:
    Apache 2.2.3
    Php 5.1.6
    OracleInstantClient 10.1.0.5 (base and skdk packages) from technet.oracle.com
    I created a directory called /usr/lib/instantclient10_1 in which I unzipped
    the files for the Oracle Instant Client and the SDK into /usr/lib/instantclient10_1.
    So inside /usr/lib/instantclient10_1 I have:
    all the unzipped filed from the base for the instant client as well as
    a directory called sdk with files inside this subdirectory.
    I compiled and installed Apache.
    I then tried to configure php using the instantclient with the configure option
    --with-oci8=instantclient/usr/lib/instantclient10_1
    The first time I did this I got the error: "link from
    /usr/lib/instantclient10_1/libclntsh.so to libclntsh.so.10
    not found"
    Well I had the libclntsh.so.10 but no such link. So I did the following:
    ln -s libclntsh.so.10.1 libclntsh.so
    I assume this was OK to do but I found it strange that I had to do this.
    Question #1 - why should I have to do this?
    I then tried to configure php again but got an error that I paste in from
    the debug.log. From this debug log you can see the configure options I gave for
    php as well as the error. It says "cannot find -lirc". Now I did put into
    /etc/ld.so.conf the line /usr/lib/gaim since that is where libirc.so is and ran
    ldconfig but it still complained. When I copied libirc.so into /usr/lib it then said there were
    lots of errors in that libirc.so. The only item in the configure options depending on lirc is
    the with-oci8.  Why does with-oci8 depend on lirc?
    I also tried the above on Red Hat AS 4.0 and got the same errors.
    Question #2 -- what do I do?
    Thank You
    Gail Lange
    Here is the debug.log in the case when libirc.so is just in /usr/lib/gaim:
    CONFIGURE: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-track-vars'
    '--enable-inline-optimization' '--with-gd' '--with-zlib' '--enable-debug'
    '--with-oci8=instantclient,/usr/lib/instantclient10_1' '--enable-sigchild'
    CC: gcc
    CFLAGS: -I/usr/include -g -O2
    CPPFLAGS:
    CXX:
    CXXFLAGS:
    INCLUDES: -I/usr/include/libxml2 -I/home/gail/php/php-5.1.6/ext/date/lib
    -I/usr/lib/instantclient10_1/sdk/include
    LDFLAGS: -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1 -L/usr/lib/instantclient10_1
    LIBS: -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl
    -lirc -lclntsh -lxml2 -lz -lm
    DLIBS:
    SAPI: apache2handler
    PHP_RPATHS: /usr/lib/instantclient10_1
    uname -a: Linux localhost.localdomain 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006
    i686 i686 i386 GNU/Linux
    gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1
    -L/usr/lib/instantclient10_1 conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
    -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm 1>&5
    conftest.c: In function 'main':
    conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
    /usr/bin/ld: cannot find -lirc
    collect2: ld returned 1 exit status
    Thanks

    To be perfectly honest, I'm not sure. Everything I could find on it had to do with IRC or some kind of remote control thing (for controlling audio/media players). Maybe if Ivan stops by he'll know what it means... he knows quite a lot about the inner workings of many of these libraries.
    http://us3.php.net/install.unix was the most useful info I could find.
    There's also this thread:
    Cannot find ld -lirc PHP Linux
    ~Jer

Maybe you are looking for

  • Post upgrade problem activating technical chains

    Hi After upgrade do version 7.01 I would like to collect and activate technical process chains. During this proces I got error "Shadow object 0PAK_...... cannot be expanded; chain is inconsistant" and not all Infopackages were collected. Any sugestio

  • ICWC Sales -Payment Method Invoice

    Hello Friends, We have a requirement to have Invoice as the Payment method in ICWC Sales. in the Sales Order we are not getting the Invoice option. In the Payment form data we are getting only COD and Payment Card options. I have checked in customizi

  • Configration Path problem.

    Hi , I am new to the RMAN. I have problem with Configration command, If I logon to the Database through RMAN Command & check the configrtaion setting by SHOW ALL; command it shows me, RMAN> show all; using target database controlfile instead of recov

  • Inserting standard table data using ztable

    Hi all,            I have an issue like i have created "ztable" where i am taking few of the mara table fields. but my problem is i m not getting data into these fields , so can anyone tell me wht shuld be done to get the data into my ztable which wi

  • Load Up issue

    When loading up my Fully Flash site as a preview in explorer (f12) I have to click "allow blocked content" due to it using action script or activeX. I fear that this will cause a big problem with some users when I launch the site? Will this be a prob