Don't ask to ask, just ask | |
PerlMonks |
Re^5: Math::GSL::SparseMatrix is broken if installed on latest 5.32.1.1 "Strawberry Perl PDL edition", whom to report this issue to?by syphilis (Archbishop) |
on Nov 09, 2022 at 11:50 UTC ( [id://11148064]=note: print w/replies, xml ) | Need Help?? |
Updated: However my test script still fails as "1 1 1", and Math::GSL::gsl_version still says "2.6". That will be because your Math::GSL was built against the static GSL libs that shipped with the "PDL edition". Once Math::GSL has been built against those static libs, it will continue to reference the behaviour provided by that library. In addition to installing the gsl-2.7.1 shared library, you will then need to rebuild (and re-install) Math::GSL against that gsl-2.7.1 shared library before you will see the correct bahaviour, I think long habit of choosing "PDL edition" as default is from time past, when PDL installation process had issues, it isn't the case in 2022 I'm pretty sure the problem is with the version of the static GSL libs that ship with the "PDL edition" (in c/lib). It used to be the case that there were parts of Math::GSL functionality that required shared gsl libs, not static libs - though I think the problem your facing is probably just that there's a bug in version 2.6. I don't know if that reliance on a shared gsl library is still present with Math::GSL. IIRC, it was not something that could be fixed trivially, so perhaps it's still an issue. In any case, I agree that the best and easiest solution is to use the non-PDL edition if you wish to also use Math::GSL, assuming that works for you. It didn't actually work for me. Running cpanm -i Alien::GSL seemed to go fine, but cpanm -i Math::GSL croaked with: I probably just need to set some environment variable(s) appropriately, but these days I quickly lose interest in messing about when Module::Build and "Alien" libraries are involved. Cheers, Rob
In Section
Seekers of Perl Wisdom
|
|