Hi, It seems that the libraries are not automatically added to /etc/ld.so.conf. Try it yourself. Edit /etc/ld.so.conf adding a line wih the directory where your shared object is. Then run ldconfig -v to update the dynamic linker run-time bindings. Fernando Rannou Axel Naumann wrote: >Hi, > >I can't answer your question, but I can ask a related one: Is there a >reason why $ROOTSYS/lib is not searched for libraries during runtime? If I >remember correctly this feature was added to win32, but it seems to be >lacking in TUnixSystem. It would save the user from setting set >LD_LIBRARY_PATH. > >Cheers, Axel. > >Some time ago, Andy Buckley decided to write: > > >>I'm having the following problem when installing ROOT v3.05.03 from >>source on to a Linux (RedHat 7.3) PC with the following configure >>options (run in directory ~lhcb/tmp): >> >>./configure linux --with-shift-libdir=/lhcb/sw/lib/rh73_gcc2952 >>--prefix=/lhcb/software/sw/packages/ROOT/v3.05.03/rh73_gcc2952/root >> >>all configures, compiles and installs happily but when I attempt to run >>ROOT I have problems: >> >>buckley@pcda:~$ root (this points to the newly installed version) >>/lhcb/software/sw/packages/ROOT/v3.05.03/rh73_gcc2952/root/bin/root.exe: >>error while loading shared libraries: libCore.so: cannot open shared >>object file: No such file or directory >> >>while the libCore.so file clearly exists: >> >>buckley@pcda:~$ ls >>/lhcb/software/sw/packages/ROOT/v3.05.03/rh73_gcc2952/root/lib/root/ >>libCint.so libGX11.so libMinuit.so libRLDAP.so >>libCore.so libGX11TTF.so libMySQL.so libThread.so >>libEG.so libHbook.so libNew.so libTreePlayer.so >>libGeomPainter.so libHistPainter.so libPhysics.so libTree.so >>libGeom.so libHist.so libPostscript.so libTreeViewer.so >>libGpad.so libHtml.so libProof.so libX3d.so >>libGraf3d.so libKrb5Auth.so libRFIO.so >>libGraf.so libMatrix.so libRGL.so >>libGui.so libMC.so libRint.so >> >>Any suggestions as to how I can fix this problem and make ROOT find its >>libraries at runtime? >> >>Cheers, >>Andy >> >>-- >>Andy Buckley, HEP Group, Cavendish Lab, Cambridge >>http://www.insectnation.co.uk >> >> > > > >
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET