pcp
[Top] [All Lists]

Re: [pcp] Unable to install MySQL PMDA on Ubuntu

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: Re: [pcp] Unable to install MySQL PMDA on Ubuntu
From: Marty Customs <marty.customs@xxxxxxxxx>
Date: Wed, 4 Jun 2014 12:01:07 +1000
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1E09c7wzYV3kYW0tTKFu+KlkVEm+FR1IP0Z2CWZBOgY=; b=0Q7eakZnJPOyAeA3+VgCwKZAhSTxyBk9PtGnfqBGUHAuLD3G3b3Bg9WYbiBWeA96XQ DrjCfqs/XekWaEOMIE7VUxR23GvFJGgcqJKXSeVlyrXgQl1UBfZ9/iVXPGPcLKwN5cqY p1QUBx3V4vvSSLe8LQL8Sosp0+EaqA9JZB1v6gzvfUF1jmVBzHzBQYSN0uBf6MX2tAe1 9QxvbNUujM+yAiUpAUJiSH3QOEcFbFp8adrTvSJgF9hCFP10Z8uLiwnMF0AHrmTeiBdW wC6l+dfG/KmMiokKl+WxFzNnaJFr7oLxXzWBCt4ltqQc+UMHHx1ISdwLws18CTGY3tmP mO+w==
In-reply-to: <1652263434.19845148.1401846994798.JavaMail.zimbra@xxxxxxxxxx>
References: <CA+6qtBsQBaKO6U-wzcrsWMBaGPT6TognWcapd70ednqTaRYwpg@xxxxxxxxxxxxxx> <175357119.19843518.1401846357840.JavaMail.zimbra@xxxxxxxxxx> <CA+6qtBsEzSPju_eEDxufin9sciGC2Dy7tPB89LHQhQe8LycYuQ@xxxxxxxxxxxxxx> <1652263434.19845148.1401846994798.JavaMail.zimbra@xxxxxxxxxx>
pminfo works and pmcd is running. Ok thanks for your help and I'll let Ubuntu folks know.

Marty.



On Wed, Jun 4, 2014 at 11:56 AM, Nathan Scott <nathans@xxxxxxxxxx> wrote:


----- Original Message -----
> Hi Nathan and thanks for the prompt reply :-)
>
> Output below:
>
> $ sudo perl -e 'use PCP::PMDA'
> Can't load '/usr/lib/perl5/auto/PCP/PMDA/PMDA.so' for module PCP::PMDA:
> /usr/lib/perl5/auto/PCP/PMDA/PMDA.so: undefined symbol: pmProgname at
> /usr/lib/perl/5.14/DynaLoader.pm line 184.
> Âat -e line 1
> Compilation failed in require at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
> $ echo $?
> 255

Hmm, strange - that symbol should be coming from /usr/lib[64]/libpcp.so,
its always been there (since day 1 in pcp). ÂDoes anything work in the
PCP install there? Â(like "pminfo", and/or is pmcd running? - they also
use that symbol)

I assume they're working - if so looks like a linkage error in the way
the perl interfaces were built, perhaps?

If thats the case, I recommend building from source yourself I guess (and
reporting the issue to the Ubuntu folks) - the latest release is a good,
stable version to use (pcp-3.9.4 on www.performancecopilot.org downloads
area, or the git tree).

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>