Load (shared) MathMore library

Hi,
I need to use the ROOT::Math::hyperg function, which is part of the MathMore library:
http://project-mathlibs.web.cern.ch/project-mathlibs/sw/html/group__SpecFunc.html#ga95a9e1d66dba3bd0df2f4a3f116b8975
When building the latest ROOT version I activated the corresponding “MathMore” option, however, it seems that I missed something:

~> root
   ------------------------------------------------------------
  | Welcome to ROOT 6.10/08                http://root.cern.ch |
  |                               (c) 1995-2017, The ROOT Team |
  | Built for linuxx8664gcc                                    |
  | From tag v6-10-08, 16 October 2017                         |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------

root [0] ROOT::Math::hyperg(
double hyperg(double a, double b, double c, double x)
root [0] ROOT::Math::hyperg(1., 1., 1., .5)
IncrementalExecutor::executeFunction: symbol '_ZN4ROOT4Math6hypergEdddd' unresolved while linking [cling interface function]!
You are probably missing the definition of ROOT::Math::hyperg(double, double, double, double)
Maybe you need to load the corresponding shared library?
type or paste code here

How do I load this library?

Thank you for your help!

gSystem->Load("libMathMore");
1 Like

Thanks a lot for your help!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.