Hi all,
I would like to switch to ROOT 5.16 on my Laptop (Kubuntu feisty fawn). It appears that after installing ROOT 5.16 from source and recompiling my own shared libraries, the latter cannot be loaded anymore and I am getting this error messages:
dlopen error: /opt/root/lib/libGX11TTF.so: undefined symbol: _ZN3TTF8fgGlyphsE
Load Error: Failed to load Dynamic link library /opt/root/lib/libGX11TTF.so
Error in <TCint::AutoLoad>: failure loading library libGX11TTF.so for class TGX11TTF
*** Break *** segmentation violation
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Attaching to program: /proc/31428/exe, process 31428
[Thread debugging using libthread_db enabled]
[New Thread -1225090272 (LWP 31428)]
0xffffe410 in __kernel_vsyscall ()
error detected on stdin
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/31428/exe, process 31428
loading them with ROOT 5.12 worked fine and the same procedure also works with the afs versions of ROOT 5.14 and also 5.16. I assume something is missing on my laptop but I dont know exactly what, must be some TrueType Fonts things.
ROOTSYS, LD_LIBRARY_PATH and PATH should be set correctly:
export ROOTSYS=/opt/root
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:$ROOTSYS/lib
export PATH=PATH:$ROOTSYS/bin
Executing ./configure in $ROOTSYS gives:
Configuring for linux
Checking for libX11 ... /usr/lib
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for libXpm ... /usr/lib
Checking for libXft ... /usr/lib
Checking whether to build included libfreetype6 ... yes
Checking whether to build included libpcre ... yes
Checking whether to build included zlib ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib
Checking for libGLU, or libMesaGLU ... /usr/lib
Checking for mysql_config ... not found
Checking for mysql.h ... no
Checking for libmysqlclient_r, libmysqlclient, or mysqlclient ... no
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for libpq-fe.h ... no
Checking for libpq ... no
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... no
Checking for libiodbc, libodbc, or odbc32 ... no
Checking for rfio_api.h ... no
Checking for librfio, libshift, shiftmd, or shift ... no
Checking for rfio_api.h ... no
Checking for stager_api.h ... no
Checking for libshift, shiftmd, or shift ... no
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for G4Navigator.hh ... no
Checking for libG4navigation ... no
Checking for CLHEP/Vector/Rotation.h ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for monalisawsclient.h ... no
Checking for libmonalisawsclient ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for libpacklib_noshift, libpacklib, packmd, or packlib ... /usr/lib
Checking for libkernlib_noshift, libkernlib, kernmd, or kernlib ... /usr/lib
Checking for rfio in /usr/lib/libpacklib.so ... no
Checking for libPythia6 ... no
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_client.h ... no
Checking for libchirp_client ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... /usr/local/include
Checking for png.h ... no
Checking for tiffio.h ... no
Checking for gif_lib.h ... no
Checking for libjpeg ... /usr/local/lib
Checking for libtiff ... no
Checking for libungif ... no
Checking for libz ... /usr/lib
Checking for libpng ... no
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... no
Checking for libldap ... no
Checking for python/Python.h, python2.5/Python.h, python2.4/Python.h, python2.3/Python.h, python2.2/Python.h, or Python.h ... /usr/include
Checking for libpython, libpython2.5, libpython2.4, libpython2.3, libpython2.2, python25, python24, python23, or Python ... /usr/lib
Checking for xml2-config ... not found
Checking for libxml/tree.h ... no
Checking for libxml2_a, or libxml2 ... no
Checking whether to build xrootd ... yes
Checking for libssl ... no
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... no
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... no
Checking for libk5crypto ... no
Checking whether we're using MIT Kerberos ... no
Checking for shadow passwords ... yes
Checking for gsl/gsl_version.h ... no
Checking for gsl-config ... not found
Checking whether to build libMathMore ... no
Checking whether to build libMathCore ... yes
Checking whether to build CINT7 ... no
Checking whether to build libCintex ... yes
Checking whether to build libReflex ... yes
Checking whether to build libRooFit ... no
Checking whether to build libMinuit2 ... no
Checking whether to build libUnuran ... no
Checking whether to build libGdml ... no
Checking whether to build libTable ... no
Checking for Clarens support ... no
Checking for PEAC support ... no
Generating cint dictionaries.
Checking whether setresuid declared in /usr/include/unistd.h ... yes
Writing config/Makefile.config ... done
Writing include/RConfigure.h ... done
Writing bin/root-config ... done
Writing etc/system.rootrc ... done
Writing etc/system.rootauthrc ... done
Writing etc/system.rootdaemonrc ... done
Writing etc/root.mimes ... done
Writing etc/daemons/rootd.rc.d ... done
Writing etc/daemons/rootd.xinetd ... done
Writing etc/daemons/proofd.rc.d ... done
Writing etc/daemons/proofd.xinetd ... done
Writing etc/daemons/xrootd.rc.d ... done
Writing etc/daemons/olbd.rc.d ... done
Writing bin/memprobe ... done
Writing build/misc/root-help.el ... done
Writing macros/html.C ... done
Writing bin/thisroot.sh ... done
Writing bin/thisroot.csh ... done
Writing config.status ... done
Enabled support for asimage, astiff, builtin_afterimage, builtin_freetype, builtin_pcre, builtin_zlib, cern, cintex, exceptions, mathcore, opengl, pch, python, reflex, shadowpw, shared, xft, xrootd.
To build ROOT type:
make
Thanks a lot in advance!
Cheers, Daniel