473,386 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

[unixODBC][Driver Manager]Can't open cursor lib 'libodbccr'

Hi All,
Recently I installed unixODBC(2.2.3) and MySql and MyODBC on Redhat
9.0. After the installation, I am able to use test program isql to
connect to the database I created with mysql.

However, if I run my application (linked with -lodbc), in SQLConnect
it will get the following error:

Message: [unixODBC][Driver Manager]Can't open cursor lib 'libodbccr' :
/lib/libo
dbccr.so.1: cannot open shared object file: No such file or directory

In isql (test utility), the SQLConnect() has been tested, why my
application had such problem? Also, libodbccr.so.1 is in
/usr/local/unixODBC/lib directory in my enviroment, I also added the
path to both LD_LIBRARY_PATH and LTDL_LIBRARY_PATH.

I had the above problem with both RPM verison and my own build version
of unixODBC.

The difference of isql and my application is isql is linked with
libtool and my application is linked by g++ with -lodbc option.

Please help me on the issue and please cc my email :
ba****@cogentsystems.com

Thank you very much for your help.
Regards,
Bang
Jul 19 '05 #1
0 2447

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: webhead74 | last post by:
Hi, I've worked on this for a couple of days & can't figure out what I'm doing wrong. I'm trying to connect to a remote AS400 database using odbc & php. Here's my environment: Server: RedHat...
1
by: Dino Nardini | last post by:
Hey folks, I've been migrating a content management system from MS SQL Server 7 over to PostgreSQL. I used the EMS DataPump utility (http://www.ems-hitech.com/index.phtml) to migrate the...
1
by: Rick Hickerson | last post by:
I can't get PHP to connect to DB2 on the same server. I'm running both Apache/PHP and DB2 on Mandrake Linux 9.2. I didn't compile PHP; just installed what appear to be the appropriate RPMs (I...
2
by: Mairhtin O'Feannag | last post by:
Hello, When I coded a routine to access a db2 database via PHP, as in the article from IBM, all seems to work, BUT ... I get the following on the page, and no connect to the database : ...
3
by: Roy Souther | last post by:
Trying to get the unixODBC to work connecting to an IBM DB2 UDB V8.1. The DB2 server is running on Red Hat 8 and is tested and confirmed to be serving connections to Windows 98 clients using the...
1
by: Tolik Gusin | last post by:
Hello All, Whether supports DB2 UDB 8.2 FP7 for Linux the ODBC-driver ? If yes, whether that enters this driver into delivery DB2 UDB 8.2 FP7 for Linux ? If it is possible, bring please an...
0
by: UDBDBA | last post by:
Hi: We have a setup which connects a V8.2 32bit db2 instance on AIX to SQLServer 2000 using the unixODBC driver. We have 5 SQLServer "Server mappings" and 4 of them work just fine and can use...
4
by: Gregor =?UTF-8?B?S292YcSN?= | last post by:
Hi! I have DB2 Express-C v9.1 installed on my machine. It is Linux UBUNTO 6.10. I've installed unixODBC version 2.2.11. My /etc/odbcinst.ini: Trace=yes Tracefile=/home/gregor/trc.log
5
by: mitrofun63 | last post by:
Hi, All In the first place sorry for mu english. I'm trying to integrate DB2 9.1.3 (with WebSphere Federation Server Relational Wrappers installed) and PostgreSQL 7.4 on SLES9 box I have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.