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
Solved

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

Posted on 2010-09-20
2
451 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

840 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