Re: error linking shared library

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Sat May 22 1999 - 21:58:09 MEST


Fons Rademakers writes:
 > No, it is not needed to link a shared lib against the ROOT libs (except on
 > AIX). I guess something else in the shared lib build process is wrong
 > (compiler options, missing ClassImp, etc.). Please mail me you class and
 > compiler procedure.
 > 

Hi Fons - your guess was correct - Charles was missing `-fno-rtti' ... 
As for your comment - it is true only under certain assumptions. In particular, 
if the library is supposed to be used *outside* ROOT interactive session (yes, 
this also happens) it is better to link it against ROOT libs. In general it 
is a good practice to link shared libs with *all* the references resolved, 
unfortunately it is not always possible (you definitely don't want to 
resolve references from the static libraries). 
						-Pasha



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET