How to use unixODBC with Oracle Express on Ubuntu 8.10?

I downloaded Oracle Express a couple of days ago, so I am totally new to Oracle.
I tried connecting via unixODBC, using dsn=oracledsn, user=dba, password=abcd and received error info:
1: st=01000, nerr=0, msg=
[unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1' : file not found
but the shared 'so' library actually does exist at the path above. I also set
ODBCINI=/etc/odbc.ini;export ODBCINI and immediately checked it was in the environment.
The .ini files are:
/etc/odbcinst.ini
[OracleExpressdrv]
Driver = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1
Description = Oracle 10g express driver
/etc/odbc.ini
[ODBC Data Sources]
oracledsn = Oracle Express DSN
[oracledsn]
Driver = OracleExpressdrv
Note: The dsn and the driver names are enclosed within square brackets but came out as web links above in the preview.
After many hours of googling I have not been able to find how to connect via ODBC to a local (on my PC) Oracle Express.
Advice would be most welcome.

hello
I have the same problem. My system is Fedora 11
I set the odbcinst.ini and odbc.ini files as you mentioned. I also set the LD_LIBRARY_PATH :
$ echo $LD_LIBRARY_PATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/
when I try to connect using isql, I get that error:
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/libsqora.so.10.1' : file not found
[ISQL]ERROR: Could not SQLConnect
I couldn't figure out what I am missing.
May someone help please?

Similar Messages

  • Using OBIEE with Oracle Express Edition Database? SOLVED

    I have a client that wants a quick demo of OBIEE. They sent us some csv files as the data source. I migrated them to Excel files for easier use, but the Excel files seem to have limitations on how I can combine the columns, such as concatenating and formatting.
    I then loaded them into an Oracle Express Edition database, assuming more "database" functionality would be available to me. I was able to load them into the Administration Tool, but Answers gives me the following error when I try to view any results from the Express database:
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 12154, message: ORA-12154: TNS:could not resolve the connect identifier specified at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    SQL Issued: SELECT COURSE_ENROLLMENT.CAMPUS saw_0 FROM BI_DEMO ORDER BY saw_0
    Thanks for any help. This is my first non-guided attempt using OBIEE.
    Edited by: markstuartnelson on Sep 29, 2008 5:22 PM

    Thanks. I got some assistance from a co-worker that is also using Express Edition. (This is also my first use of Express Edition.)
    Here is the tnsnames entry that I created, in case it helps someone else:
    DEMO_XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
         (SERVER = DEDICATED)
         (SERVICE_NAME = xe)
    )

  • Where to find and how to use JDAPI with oracle forms

    Hi All
    I want to use JDAPI for oracle forms, plz can any one suggest that where i can find the required jar for JDAPI, provide me if any links r there for downloading JDAPI.
    Thanks in Advance

    Hi Torsten Kleiber
    I am interested in changing forms buttons in our existing forms .I was trying to find if it was possible.Going thru your post I realised it is possible to change properties in existing forms .
    i have specific questions with JDAPI will i be able to change my buttons in a form to Iconic buttons.
    Could you kindly send me the code of your class in the abovementioned post (I have created a simple class to modify some forms properties.)
    I would like to have alook at it i am a Novice in java but looking at your source code may be able to give myself a head start .(I am well versed pl/sql forms and reports NO JAVA idea)
    Two while trying out the oracle demo to create a form by jdapi I was able to create a class and was unable to execute it .What do i need to install to execute it. I have forms 10 installtion with Jinitiator 1.3 installed
    DO i need to install Jdeveloper or JDK i think either of this is required. I shall be highly be obliged if u can clear my queries or any one else in the forum may wish to add to 2cents to my infinetly minimal knowledge of java

  • How to use LDAP with Oracle forms 10g on Oracle application server

    Hi,
    I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
    Thanks
    Luksh

    I am not quite sure if this works out of the box. According to an Oracle FAQ:
    4.2 Can I use LDAP to authenticate Forms Services?
    Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms.

  • How to use FDS with Oracle DB?? JavaAdapter?

    Hello,
    Can anyone explain to me in plain english how my Flex
    application uses FDS to connect to an oracle database?
    Ok, so the mxml/swf calls the dataservice.... WHERE is the
    dataservice? WHAT is the dataservice (functionaly a servlet?)?? HOW
    is the dataservice configured?? Do I use J2ee connection pools?
    Where are the detailed instructions for connecting my FDS
    flex application to a backend oracle database?!?!?!
    Ed

    Hi Ed,
    FDS is a Java web app that you can think of as having 3
    layers:
    1. A set of endpoints that clients connect to in order to
    send and recieve data and messages. The HTTP and AMF endpoints are
    implemented as a servlet. The RTMP endpoint is an NIO socket
    server.
    2. A core message broker that takes inbound messages and
    routes them to their target service destination and routes
    responses back out to connected clients.
    3. A service layer with destinations that process these
    messages from clients and if necessary return a response. Each
    service exposes specific destinations. In the case of the remoting
    service each destination is a Java object exposes for RPC, in
    messaging each destination is a topic to publish to or subscribe
    to, in the data service each destination is backed by an assembler
    that manages a specific entity type in your domain model, etc.
    In the data service case you can connect to a database either
    via the HibernateAssembler or a custom assembler within which you
    could talk to a DAO layer or manage CRUD ops directly. Your
    assembler receives change objects for creates, updates, deletes and
    the way you access your datastore is up to you. The intent of the
    data service is to act as a layer on top of an existing Java domain
    model on the server that allows Flash clients to interact with it
    directly.
    Hopefully that clarrifies the general picture a bit.
    Regarding the error you're hitting, if that's a runtime error
    being thrown on the client it's because the configuration
    information compiled into the swf doesn't contain the "Employee"
    destination you've added. How are you compiling your MXML app? If
    you're compiling in FlexBuilder or at the command line are you
    referencing your services-config.xml file using the -services
    option?
    Best,
    Seth

  • How to use Jasperreport with Application Express?

    HI,
    We are really want to 'print out' from our apex applications, but by far no easy way to do so.
    (BI too expensive and complicated)
    I am tring to install Jasperreports with apex, but I don't know how to do it, I downloaded the windows version of Jasperreport.
    Any idea how to install and configure it to work with my apex applications?
    Peter

    See this thread for information on using Jasper Reports with APEX.. If this helps, please mark this thread as answered and assign points!
    APEX to Jasper parameter passing
    Thank you,
    Tony Miller
    Webster, TX

  • How i can deal with oracle file by using php api

    how I can deal with oracle file by using php api ?

    What has this to do with Reflections and Reference Objects?

  • How to Implement SSL with Oracle Applications R12 without using Load Balanc

    How to Implement SSL with Oracle Applications R12.1.3 without using Load Balancer

    Please refer to (Enabling SSL in Release 12 [ID 376700.1]).
    Thanks,
    Hussein

  • Error when trying to use LogMiner with Oracle 8.1.6.0.0

    Hi everybody,
    I'm trying to use LogMiner with Oracle 8.1.6.0.0. When I execute the following code with SQL*Plus, I have an error.
    BEGIN
    DBMS_LOGMNR.START_LOGMNR
    (options =>
    dbms_logmnr.dict_from_online_catalog);
    END;
    The error displayed by SQL*Plus is:
    PLS-00302: 'DICT_FROM_ONLINE_CATALOG' must be declared.
    Please, how to solve this problem?
    Thanks you in advance for your answers.

    user639304 wrote:
    Hi everybody,
    I'm trying to use LogMiner with Oracle 8.1.6.0.0. When I execute the following code with SQL*Plus, I have an error.
    BEGIN
    DBMS_LOGMNR.START_LOGMNR
    (options =>
    dbms_logmnr.dict_from_online_catalog);
    END;
    The error displayed by SQL*Plus is:
    PLS-00302: 'DICT_FROM_ONLINE_CATALOG' must be declared.
    Please, how to solve this problem?
    Thanks you in advance for your answers.Looking at the 8.1.7 doc set (the oldest available on tahiti) I get no hits when searching for 'dict_from_online_catalog'. Searching the 9.2 doc set turns up a reference. Looks like you are trying to use an option that isn't available in your version of Oracle.

  • How to use Count with Date Parameters

    Hello,
    I am having issues using the Count() function in conjunction with date parameters.
    This is a Siebel report and in my report I have 2 date parameters(From Date, To Date). In a nutshell I am basically trying to count Opportunities that has a start date within the given date period. However I don't see a reasonable way to put my date parameters within the Count() function. The reason being is that I need to have a huge chunk of code to convert the dates into a common format that can be compared, and it won't even fit within the code block in my rtf template. I am not even sure how to put multiple conditional statements inside a Count() function since all the examples I have seen are very simple.
    Anyone have a suggestion on how to use Count() with date parameters?
    Thanks.

    Any chance you can get the date formats in the correct format from siebel?
    I don't know Siebel - so I can't help you with that. If you get the correct format it is just
    <?count(row[(FromDate>=date) and  (date<=ToDate))?>
    Otherwise the approach would probably need to use string function to get year/monthd/day from the date
    and store it into a varialbe and compare later the same way
    <?variable@incontext:from; ....?>
    <?variable@incontext:to; ...?>
    <?count(row[($from>=date) and  (date<=$to))?>
    Potentially you can use the date functions such as xdofx:to_date to do the conversion
    [http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm]
    But I am not sure if they are available in your siebel implementation.
    Hope that helps

  • I recently bought a dbx hardware compressor and am not quite sure how to use it in logic express 9. I hav a focusrite saffire 6 usb audio interface and am not dont how to use it in logic. Please help???

    I recently bought a dbx hardware compressor and am not quite sure how to use it in logic express 9. I hav a focusrite saffire 6 usb audio interface and am not dont how to use it in logic. Please help???

    MUYconfundido wrote:
    Pancenter,
    Thanks for the response, but I do not have a midi interface. I am using a midi to usb connector cable, thus bypassing the need for a Midi interface.
    The Mac reads the USB cable as a midi device, but not the keyboard that I am trying to use as a controller. I have tried it with my korg sp 300 and with my Nord Electro 2.
    Thoughts?
    Thanks,
    Tristan
    Tristan...
    This is what you have, correct?
    http://www.alesis.com/usbmidicable
    This from Alesis..
    "The AudioLink Series USB cable receives and outputs MIDI signal thanks to its internal interface. The USB-MIDI Cable connects plug-and-play to your Mac or PC for an all-in-one USB-MIDI solution."
    Notice, -internal interface-. What you have is a simple USB MIDI Interface. Most MIDI interfaces are USB.
    My point is (was), MIDI OUT of the Korg goes to the connector marked MIDI IN on the Alesis, those new to MIDI often get this wrong.
    pancenter-

  • Help me!! How to use JavaScript with JSP ??

    I am using JDeveloper and I created a screen in JSP which uses a bean for database connectivity and retriving info onto the page.
    The page has a ListBox where list items are populated from the database.My requirement is
    whenever the list is changed the page shuold be refreshed with the selected item info.
    I tried to use 'JavaScript' for triggering the event with 'onChange' event of the ListBox.But the event is not getting invoked. I think JavaScript is not working with JSP.
    Please help me with how to Use javaScript with JSP or any other alternative where I can meet my requirement.
    I have one more question...I have gone through the JSP samples in OTN and I am trying do download the sample 'Travel servlet' which show list of countries...etc
    I have also gone through the 'readme' but I don't know how to extract .jar file.
    I would be great if you could help me in this.
    Thanks!!
    Geeta
    null

    We have a similar need. We have used Cold Fusion to display data from Our Oracle Database. We have a simple SElect Box in HTML populated with the oracle data. When someone selects say the State of Pennsylvania. then we have an On change event that runs a Javascript to go get all the cities in Pennsylvania.
    Proble we are having is that inorder for the Javascript to work , we currently have to send all the valid data.
    Do you know of any way to dynamically query the the Oracle database in Javascript

  • How to use css in oracle forms

    Hello,       I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • Using OCCI with Oracle XA Library

    Is it possible to use OCCI with Oracle XA Library?
    the XA function xaoSvcCtx() can returns the OCI service handle
    for a given XA connection. but how to convert it to the OCCI
    Connection class?
    any comments would appreciate
    Ray

    Hi Ravi,
    We are now building CORBA application with C++. some programs
    manage transaction through Transaction service(a TM of X/OPEN
    DTP architecture), these programs must use XA Library.
    OCCI is a wonderful tool for C++ programer,with OCCI building
    a persistent layer over ORACLE is very simple.
    But if OCCI not work with XA we have no choice but PRO*C or
    OCI ,which's actually C style tool and hard to use especially
    in object mode.
    So we hope OCCI can provide this feature in next release. and
    I beleive This feature is necessary,It's very common using a
    transaction monitor such as ORACLE Application Server .
    regards,
    Ray

  • Using jfreechart with oracle forms 11g

    Hi everybody,
    I'm using jfreechart with oracle forms 11g to continue having graphs in my application since i'm migrating from forms 6i. I've already got it working and it's great. Just have one problem left. I don't know how to change the axis labels. In Bar charts, it comes with "Values" in y axis and "Category" in x axis by default. I wanted to change that or make it dissapear. Anyone knows how to?

    I've never used the jFreeChart, but according to their website you can use the "setLabel" method to set the label for an axis. Check out Axis (JFreeChart Class Library) for more information.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

Maybe you are looking for

  • Recently installed Windows 7 on Pavilion dv6748us - internal microphone does not work

    Hi, sojo972 wrote: I have been searching the web extensively, without success, to find how to resolve this issue. I recently installed Windows 7, 32 bit, on my wife's HP Pavilion dv6748us laptop. Now her internal microphone does not work. Have gotten

  • Order To Cash - AR Invoice Line Item description change

    Hi, I have a requirement of concatenating some value to the Invoice line - Item description in the AR Invoice created thought Auto Invoicing. Please could anyone tell me the best way of doing it. Thanks & Regards, Genoo

  • How to invoke when-validate trigger

    Hi all , I just want to know how can i Invoke when-validate-item trigger of another item by without navigating to that item. Exampls. I have two items A and B I want to invoke item B's when-validate-item trigger by keeping the focus on A or being in

  • I just installed Lion, and I find my Mail inbox quite incomplete.

    I just installed Lion, and I find my Mail inbox quite incomplete. Yet when I look in my "Smart Mailboxes" I can find the new emails that I was looking for, so they are getting here, just not to my "Inbox". Help!

  • Iphone5 cellular data problem

    when I switch on the cellular data the network bars gets from low to no service and after some time the network is full. I tried several times and did network setting as well but nothing worked.