I misspoke in my last email. My problem is a little more
complicated than I first described. Originally I was using the
pre-compiled version of ROOT 'root_v3.10.02.Linux.RH7.3.gcc296' in which
case I encountered the problem I described with the 'h2root' utility.
Then I tried compiling ROOT from source (the same version) after which
'h2root' worked fine but I encountered a different problem when using
strings and vectors which I have illustrated in the following example:
#include<vector>
#include<string>
void string_test() {
vector<string> a;
a.push_back("testa");
a.push_back("testb");
}
Running this script creates the error:
Error: no such template new c_string<char> FILE:defalloc.h LINE:121
*** Interpreter error recovered ***
which did not occur when I was using the pre-compiled ROOT.
I did not build the cern libraries myself but rather I took the
ones from cern and put them into /cern/pro/lib/ on my own computer. Could
this be the problem?
Matthew
On Thu, 22 Jan 2004, Rene Brun wrote:
> Hi Matt,
>
> Where did you take the cernlib bins?
> Did you build cernlib/libPacklib.a yourselkf?
>
> Rene Brun
>
> On Thu, 22 Jan 2004, Matthew
> D Wood
> wrote:
>
> > Hi. I am having trouble running the 'h2root' utility that changes hbook
> > files to root files. When I try to run h2root on the command line I get
> > the following:
> >
> > > h2root
> > h2root: /lib/i686/libc.so.6: version `GLIBC_PRIVATE' not found (required
> > by h2root)
> >
> > I have compiled this from the most recent root source 3.10/02 and my
> > system information is as follows:
> >
> > Redhat: 7.1
> > gcc: 2.96-85
> > glibc: 2.2.4
> >
> > Everything else in root seems to work fine.
> >
> > Matthew
> >
>
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET