Python symbol lookup error

I’m running a Python script that calls functions from a compiled .cxx file. In particular, in my .cxx file I have the line:

double sig = RooStats::NumberCountingUtils::BinomialExpZ(var1,var2,var3)

When the Python script calls the function that contains that line, I get the following error:

>python: symbol lookup error: /mypath/RootCoreBin/obj/x86_64-slc6-gcc49-opt/AnalysisUtils/lib/libAnalysisUtils.so: undefined symbol: _ZN8RooStats19NumberCountingUtils12BinomialExpZEddd

where libAnalysisUtils.so is a custom library.

Running LD_DEBUG on my script, I get:

symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=python [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/bin/../lib/libpython2.7.so.1.0 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libpthread.so.0 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libdl.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libutil.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libm.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libc.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/ld-linux-x86-64.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libPyROOT.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libTree.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libRint.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libNet.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libMathCore.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libRIO.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libThread.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libCore.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc493_x86_64_slc6/slc6/gcc49/lib64/libstdc++.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc493_x86_64_slc6/slc6/gcc49/lib64/libgcc_s.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libssl.so.10 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libcrypto.so.10 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libcrypt.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libz.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libgssapi_krb5.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libkrb5.so.3 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libcom_err.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libk5crypto.so.3 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libfreebl3.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libkrb5support.so.0 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libkeyutils.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libresolv.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libselinux.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/ld-2.12.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/_locale.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/strop.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libnss_files.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libnss_sss.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libnss_dns.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libCling.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/librt.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libtinfo.so.5 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/readline.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libreadline.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/itertools.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/operator.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/_collections.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/_heapq.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/_functools.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/_struct.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/math.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/time.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libMatrix.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libPhysics.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libHist.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libGraf.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libfreetype.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libPostscript.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libGpad.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libGraf3d.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/home/ravina/SUSY_Nov_2016/RootCoreBin/obj/x86_64-slc6-gcc49-opt/AnalysisUtils/lib/libAnalysisUtils.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libTreePlayer.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/cStringIO.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/python/2.7.9p1-x86_64-slc6-gcc49/sw/lcg/releases/LCG_81b/Python/2.7.9.p1/x86_64-slc6-gcc49-opt/lib/python2.7/lib-dynload/datetime.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/home/ravina/SUSY_Nov_2016/RootCoreBin/obj/x86_64-slc6-gcc49-opt/AnalysisUtils/lib/libAnalysisUtils.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libCore.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libRIO.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libNet.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libHist.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libGraf.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libGraf3d.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libGpad.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libTree.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libRint.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libPostscript.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libMatrix.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libPhysics.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libMathCore.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/root/6.04.16-x86_64-slc6-gcc49-opt/lib/libThread.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libdl.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc493_x86_64_slc6/slc6/gcc49/lib64/libstdc++.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libm.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase/x86_64/Gcc/gcc493_x86_64_slc6/slc6/gcc49/lib64/libgcc_s.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libpthread.so.0 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libc.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libz.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/ld-linux-x86-64.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libssl.so.10 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libcrypto.so.10 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libcrypt.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libfreetype.so.6 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libgssapi_krb5.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libkrb5.so.3 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libcom_err.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libk5crypto.so.3 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/usr/lib64/libfreebl3.so [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libkrb5support.so.0 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libkeyutils.so.1 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libresolv.so.2 [0]
      9337:	symbol=_ZN8RooStats19NumberCountingUtils12BinomialExpZEddd;  lookup in file=/lib64/libselinux.so.1 [0]
      9337:	/home/ravina/SUSY_Nov_2016/RootCoreBin/obj/x86_64-slc6-gcc49-opt/AnalysisUtils/lib/libAnalysisUtils.so: error: symbol lookup error: undefined symbol: _ZN8RooStats19NumberCountingUtils12BinomialExpZEddd (fatal)
python: symbol lookup error: /mypath/RootCoreBin/obj/x86_64-slc6-gcc49-opt/AnalysisUtils/lib/libAnalysisUtils.so: undefined symbol: _ZN8RooStats19NumberCountingUtils12BinomialExpZEddd

And running nm --demangle libAnalysisUtils.so I get:

U RooStats::NumberCountingUtils::BinomialExpZ(double, double, double)

How can I fix this?

Nothing to do w/ python; just link your libAnalysisUtils.so with libRooStats.so (or preload it with gSystem.Load()).