Solved

Getting error message when trying to use mysql odbc driver on redhat linux

Posted on 2010-09-20
2
447 Views
Last Modified: 2012-05-10
I get the following error message when I try to use the mysql odbc driver from a third party application on redhat linux (5.1):

relocation error: /usr/lib/libmyodbc3.so: symbol mysql_odbc_escape_string, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference

I have the following mysql odbc packages installed:
mysql-5.0.77-4.el5_5.3.i386
mysql-connector-odbc-3.51.12-2.2.i386

0
Comment
Question by:opike
  • 2
2 Comments
 

Author Comment

by:opike
ID: 33721390
I read somewhere that there was a bug with the 5.0.77 mysql client programs so I uninstalled package mysql-5.0.77-4.el5_5.3.i386 and installed package mysql-5.0.45.el5.i386 and the error went away.
0
 

Accepted Solution

by:
opike earned 0 total points
ID: 33772352
It turns out this error message was being caused by the ordering of the directories in LD_LIBRARY_PATH. I had 2 directories specificed and when I reversed the order, the error went away.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now