AnsweredAssumed Answered

mapr-metrics error "Failed to find shared library"

Question asked by asadali on Jul 5, 2017
Latest reply on Jul 12, 2017 by maprcommunity

I'm running Ubuntu 14.04 with Mapr5.2.1. In my hoststat.log file, I see the error:

 

2017-07-05 11:26:04,7699 ERROR Hoststats hoststats.cc:276 Thread: 139946610390784 ERROR: Failed to find shared library for backend mysql with error count since last shown error: 0

 

On nodes where I have mapr-metrics installed, I have the following libmysqlclient-dev installed:

 

Package: libmysqlclient-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 5481
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: mysql-5.5
Version: 5.5.55-0ubuntu0.14.04.1

 

I am assuming here that libmysqlclient version 5.5.55 is not libmysqlclient16, which is what is needed by mapr. Here is a thread from 2014 that asked the same question 

Ubuntu 14.04 - Failed to find shared library for backend mysql (Metrics & hoststats) 

 

The solution was to install libmysql16 instead of whatever 5.5.55 is. However, that thread is from 2014 and I'm hoping there is another solution to this because I cannot find libmysqlclient16.

Outcomes