Solved

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

Posted on 2010-09-20
2
455 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
By, Vadim Tkachenko. In this article we’ll look at ClickHouse on its one year anniversary.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

626 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