pcp
[Top] [All Lists]

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

To: Marty Customs <marty.customs@xxxxxxxxx>
Subject: Re: [pcp] Unable to install MySQL PMDA on Ubuntu
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 3 Jun 2014 21:56:34 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CA+6qtBsEzSPju_eEDxufin9sciGC2Dy7tPB89LHQhQe8LycYuQ@xxxxxxxxxxxxxx>
References: <CA+6qtBsQBaKO6U-wzcrsWMBaGPT6TognWcapd70ednqTaRYwpg@xxxxxxxxxxxxxx> <175357119.19843518.1401846357840.JavaMail.zimbra@xxxxxxxxxx> <CA+6qtBsEzSPju_eEDxufin9sciGC2Dy7tPB89LHQhQe8LycYuQ@xxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: G8qdL9ffK+Ug+z3GmkdFTiucLpwAWQ==
Thread-topic: Unable to install MySQL PMDA on Ubuntu

----- 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>