Hi,
I’ve been trying incessantly to get root installed in Ubuntu 10.04 but I’m having problems.
Version stuff:
ROOT 5.30/01 (tags/v5-30-01@40633, Aug 18 2011, 16:46:17 on linuxx8664gcc)
Compiled with --gminimal.
Enabled support for builtin_lzma, shadowpw, shared, x11.
Linux livlhcb010 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC 2011 x86_64 GNU/Linux
It seems to install fine but when I try to run a TBrowser I get the following error, and it never displays the window.
root [0] new TBrowser()
Error in TUnixSystem::DynamicPathName : GQt[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /home/karol/root/lib/root:/home/karol/root/lib/root:/usr/local/lib/root:.:.:/home/karol/root/lib/root::/home/karol/root/lib/root/cint/cint/stl
(class TBrowser*)0x2086ed0
Please help,
Karol.
rdm
August 24, 2011, 9:16am
2
Hi,
for me the following works fine:
./configure --gminimal
root
new TBrowser
Did you specify in any .rootrc file that you want to use Qt as backend (from a previous install). That will not work.
Cheers, Fons.
Hi,
I can’t find anything that would cause it. I’ve tried logging in as a different user. I’ve tried deleting /etc/root and reinstalling. I’ve even gone so far as making a chroot jail and still get the same error. Can you think of anything else that might cause the problem?
Where is it supposed to pick up GQt.so from?
Karol.
system
August 26, 2011, 2:50pm
4
Please, look up for “~/.rootrc”, “.rootrc” and $ROOTSYS/etc/system.rootrc" to make sure none contains “GUI.backend” “qt”
system
August 26, 2011, 3:00pm
5
[quote=“rev_karol”]
Where is it supposed to pick up GQt.so from?
[/quote] From $ROOTSYS/lib. GQt.so is the ROOT plugin. It is built as soon as “configure” finds Qt header files installed and --enable-qt ordered.
system
August 26, 2011, 3:03pm
6
Can you do
ldd $ROOTSYS/lib/*.so>libs.lst
and upload “libs.lst” for us to see ?
[rcas6002] ~/<1>QTROOT/5.28/root/config/> ldd $ROOTSYS/lib/*.so | grep -i qt
/afs/rhic.bnl.gov/star/ROOT/5.22.00/.sl53_gcc432/rootdeb/lib/libGQt.so:
libQtCore.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtCore.so.4 (0xf7d29000)
libQtGui.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtGui.so.4 (0xf75ce000)
libQt3Support.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQt3Support.so.4 (0xf7368000)
libQtOpenGL.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtOpenGL.so.4 (0xf72fa000)
libQtSvg.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtSvg.so.4 (0xf72bf000)
libQtXml.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtXml.so.4 (0xf728c000)
libQtSql.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtSql.so.4 (0xf6d6d000)
libQtNetwork.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtNetwork.so.4 (0xf696c000)
/afs/rhic.bnl.gov/star/ROOT/5.22.00/.sl53_gcc432/rootdeb/lib/libQtRoot.so:
libQtCore.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtCore.so.4 (0xf7da8000)
libQtGui.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtGui.so.4 (0xf764d000)
libQt3Support.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQt3Support.so.4 (0xf73e7000)
libQtOpenGL.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtOpenGL.so.4 (0xf7379000)
libQtSvg.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtSvg.so.4 (0xf733e000)
libQtXml.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtXml.so.4 (0xf730b000)
libQtSql.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtSql.so.4 (0xf6dec000)
libQtNetwork.so.4 => /opt/star/sl53_gcc432/qt4/lib/libQtNetwork.so.4 (0xf69eb000)
Ah crap, I missed one of the rootrc files. Got it now. Thanks for the help,
Karol.