LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-10-2009, 02:38 AM   #1
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Rep: Reputation: 15
unixODBC


Hi everyone!

While trying to execute any SQL query using unixODBC I get the error below:

[IM003][unixODBC][Driver Manager]Specified driver could not be loaded
[ISQL]ERROR: Could not SQLAllocStmt


I've succeeded to connect to Oracle DB, the error occurs on any query execution:

Code:
bash-3.00$ isql myDB login password -v
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL> select sysdate from dual;
[IM003][unixODBC][Driver Manager]Specified driver could not be loaded
[ISQL]ERROR: Could not SQLAllocStmt
SQL>
I'm using Oracle 10.2.0.3 clinet driver

Code:
cat /data/pandora/local/etc/odbcinst.ini
[Oracle]
Description     = Oracle driver
Driver          = /data/pandora/local/10.2.0.3clnt/lib/libsqora.so.10.1
Setup           =
FileUsage       =
CPTimeout       =
CPReuse         =

Last edited by Padawan.AVT; 07-10-2009 at 02:40 AM.
 
Old 07-14-2009, 02:32 AM   #2
Padawan.AVT
Member
 
Registered: Feb 2006
Distribution: Gentoo, Slackware, Debian, Suse
Posts: 86

Original Poster
Rep: Reputation: 15
A bit of coding and the rocket will fly!

http://forums.oracle.com/forums/thre...t=15&tstart=60 - this solved my problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
myODBC and unixODBC LandRoverMan Programming 2 04-21-2009 06:14 AM
unixODBC nedzer Linux - Newbie 3 02-18-2009 03:35 AM
unixODBC lord-fu *BSD 1 12-20-2006 08:54 PM
unixODBC ottavio78 Linux - Software 1 12-15-2003 07:26 AM
MySQL and uniXODBC LandRoverMan Linux - Software 0 06-09-2003 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration