469,610 Members | 2,357 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,610 developers. It's quick & easy.

[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 2103

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by webhead74 | last post: by
1 post views Thread by Dino Nardini | last post: by
1 post views Thread by Rick Hickerson | last post: by
2 posts views Thread by Mairhtin O'Feannag | last post: by
3 posts views Thread by Roy Souther | last post: by
1 post views Thread by Tolik Gusin | last post: by
4 posts views Thread by Gregor =?UTF-8?B?S292YcSN?= | last post: by
5 posts views Thread by mitrofun63 | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.