in reply to Re^8: PDL::Graphics::PLplot fails on install
in thread PDL::Graphics::PLplot fails on install

So then I was just missing the libplplot.so file

Strictly speaking, I expect that there would have been more than just the libplplotd.so file that was missing (eg. the plplot header files, too), so I don't know why libplplotd.so was singled out.
I think a more appropriate message would have been something like "Cannot find the plplot library".
But yes, it was the absence of the plplot (and no other) library that was preventing PDL-Graphics-PLplot from building.
Those other libraries that you installed are used by modules located within the PDL source package. ("PDL" and "PDL-Graphics-PLplot" are separate packages.)

I am not sure why cpan doesnt go and get libplplot

The cpan utility will grab the perl modules as necessary, but it's mostly up to the user to ensure that any third party requirements of those modules (such as libraries like plplot) are already available to the build.
Some modules will take steps to download and install missing requisite libraries - but, IMO, it's far better to just leave that up to the user.

I'll file a bug report about the deceptive behaviour of PDL::Graphics::PLplot that you struck, after I've checked that it hasn't already been fixed in development.
Update: Bug has now been reported

Cheers,
Rob
  • Comment on Re^9: PDL::Graphics::PLplot fails on install

Replies are listed 'Best First'.
Re^10: PDL::Graphics::PLplot fails on install
by newperldeveloper (Sexton) on Aug 27, 2020 at 10:26 UTC
    Thanks.
Re^10: PDL::Graphics::PLplot fails on install
by etj (Priest) on Apr 20, 2022 at 19:00 UTC
    Update: As of PDL::Graphics::PLplot 0.79, it now uses Alien::PLplot as made by the mighty Zaki Mughal to install PLplot if it is not already available.