...
- Go to the directory $ROOTSYS/bindings/pyroot/src
- set PYTHONSYS to the 'python' directory
- Enter the following command (replace the paths to python with the location of the python version from which you are building againstnote the specification of the "-lpython2.5" in the command. Make sure it corresponds to the correct python library version found in $PYTHONSYS/lib/python<A.B.>/config/ )
Code Block g++ -flat_namespace -bundle *.o -bundle_loader $PYTHONSYS/bin/python -L$ROOTSYS/lib -ldl -L$ROOTSYS/lib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread -L$ROOTSYS/lib -lReflex -ldl -L$PYTHONSYS/lib/python2.5/config/ -lpython2.5 -L$ROOTSYS/lib -lCore -lCint -o libPyROOT.so cp libPyROOT.so $ROOTSYS/lib