Hi Tommaso,
I dont' have the solution to your problem, but another note.
On Fri, 1 Feb 2002 14:16:41 +0100 (CET)
Tommaso Chiarusi <Tommaso.Chiarusi@bo.infn.it> wrote
concerning "[ROOT] rootcint problems to compile libraries":
> So I cd first to my Lastra directory, containing the following files
>
> ------------
> libCint.so._3.00* libCint.so._3.01* libCint.so._3.02*
> libCint.so@
> Lastra.cxx Lastra.h LastraLinkDef.h
> Makefile_lastra
> ------------
>
> where
>
> ---
> libCint.so._3.00* libCint.so._3.01* libCint.so._3.02*
> ---
>
> are the 3 CINT libraries for the tree version of ROOT and
>
You do realise that you can use the option `--with-soversion' when
doing `configure', which will set the version number in the soname of
the librarries, and output the libraries like
libCore.so.3.03
libCore.so.3 symlink to libCore.so.3.03
libCore.so symlink to libCore.so.3
Doing it like that, you can always use ldd to check wich version of
ROOT you compiled against, and also, ld.so will automatically choose
the right one. I'm assuming GNU/Linux here, but it also applies on
other platforms, like e.g. solaris, though the program names are
different.
> ---
> libCint.so
> ---
>
> a link to one of them (THIS ONE MUST EXIST IN THE DIR WHERE I COMPILE!).
> Naturally in the makefile there is the call to the proper version
> of rootcint.
Well, it needs to exists somewhere where your linker is looking for
libraries, like /usr/lib, any directory specified in ld.so.conf (I
believe,), or any directory specified with the -L option. Also, you
can give the explicit name, like
g++ <some where>/libCint.so.3.03 <objects> -o <program>
It's only if you link with options like
g++ -L<some where> -lCint <objects> -o <program>
(the standard way) that you need the above the link.
Yours,
Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
DK-2200 Copenhagen N Cell: (+45) 28 82 16 23
Denmark Office: (+45) 353 25 305
Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:40 MET