...
- Go to the directory $ROOTSYS/bindings/pyroot/src
- set PYTHONSYS to the 'python' directory
- Enter the following command (note
- Note 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/
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/libCode Block - :