store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Thu Nov 27, 2014 1:01 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: relocation error: /usr/lib64/libmyodbc5.so
Unread postPosted: Mon Oct 24, 2011 8:36 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
On a server running CentOS 6.0 x86_64, Plesk 10.3.1 and the MySQL 5.1.59-1 packages from the atomic channel I get '500 - Internal Server Error' when trying to access the Application Vault page under Tools & Utilities in Plesk.

In /var/log/sw-cp-server/error_log I find:

Quote:
relocation error: /usr/lib64/libmyodbc5.so: symbol strmov, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference


I found http://serverfault.com/questions/318246 ... nt-r-so-16 about this exact error message which suggests dumping all databases and installing the vendor's MySQL packages.

Apparently the /usr/lib64/libmyodbc5.so file is part of the mysql-connector-odbc package:

Code:
# rpm -qf /usr/lib64/libmyodbc5.so
mysql-connector-odbc-5.1.5r1144-7.el6.x86_64


What do you make of this?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: relocation error: /usr/lib64/libmyodbc5.so
Unread postPosted: Tue Oct 25, 2011 7:02 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7959
Location: earth
It seems like maybe the odbc library is using a very specific mysql 5.1 api. The good news is that now that 5.1 is in "client" mode making a client library only package to support it isnt a big deal.

The first part is to determine what version it really needs. So the first thing to do is get your hands on older version(s) of the mysql client packages by grabbing the MySQL-shared-community-5.1.X packages from here:

ftp://mirror.anl.gov/pub/mysql/Downloads/MySQL-5.1/

If I had to guess, its probably looking for 5.1.52.

UPDATE:
So my testing here was purely against Mysql 5.5.17, this will install the compat package mysqlclient16-5.1.59-1.el6.art.x86_64. With that version I do not have this same 500 error. Option 2, --force install that package and see what you get.


Top
 Profile  
 
 Post subject: Re: relocation error: /usr/lib64/libmyodbc5.so
Unread postPosted: Wed Nov 02, 2011 7:15 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I reverted MySQL to the CentOS packages (5.1.52) and the Application Vault page is working again.

_________________
Lemonbit Internet Dedicated Server Management


Top