RE: /libexec/ld-elf.so.1 ... Undefined symbol "_ZN7TMinuitC1Ei"

From: Pierre-Luc Drouin <pldrouin_at_physics.carleton.ca>
Date: Thu, 26 May 2005 14:35:10 -0400 (EDT)


Yes, this works when I link my library against libMinuit. Why is it needed on FreeBSD but not with Linux? With older versions of Root this was working on both Linux and FreeBSD...

Thanks!

On Thu, 26 May 2005, Philippe Canal wrote:

> Hi,
>
> This should be fixed by link against or loading libMinuit.
>
> Philippe
>
> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch]
> On Behalf Of Pierre-Luc Drouin
> Sent: Thursday, May 26, 2005 10:37 AM
> To: roottalk_at_pcroot.cern.ch
> Subject: [ROOT] /libexec/ld-elf.so.1 ... Undefined symbol "_ZN7TMinuitC1Ei"
>
> I have some code that uses Root classes and that I load in Root as a
> shared library with command gSystem->Load("libqsigex.so"). When I use some
> of my classes it works fine but it crashes with the following error when
> another of my classes tries to use Minuit:
>
> /libexec/ld-elf.so.1: /home/pldrouin/work/qsigex_new/lib/libqsigex.so:
> Undefined symbol "_ZN7TMinuitC1Ei"
>
> I get this error with FreeBSD 5.4-STABLE. I compile Root with gcc 3.4.2. I
> get the error with the current CVS Root code and also with Root 4.04.02. I
> don't get this error on a RedHat Linux box running gcc 3.2
>
> Thanks
>
> Pierre-Luc Drouin
>
Received on Thu May 26 2005 - 20:35:49 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET