Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-09-20
2
Medium Priority
?
460 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

971 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