Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux pull logs and export FTP 4 59
Debug VNC connection on CentOS7 server 22 64
Steps to produce a data strategy 5 39
mysql joining from the same table 6 31
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.
Read about achieving the basic levels of HRIS security in the workplace.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

914 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

17 Experts available now in Live!

Get 1:1 Help Now