Re: symbol lookup error: /usr/lib/libPhysics.so: undefined symbol: gRandom

From: Cristina Morales Morales <morales_at_kph.uni-mainz.de>
Date: Fri, 13 Apr 2012 15:37:24 +0200


Hi Alex,

yes, you are right. I did that but unfortunately then I get more errors like:

symbol lookup error: /usr/lib/libTree.so: undefined symbol: _ZTI7TSQLRow

and I do not know where to find that.
Is that a way to include all the libraries located in a given directlion like /usr/lib/ in the definition of LD_PRELOAD and not just one by one? (sorry for my ignorance)

thanks a lot again,

Cristina

Quoting Axel Naumann <Axel.Naumann_at_cern.ch>:

> Hi Cristina,
>
> Yes, you need to link against libCore. If the binary doesn't pull it in
> itself it wasn't linked properly. You should be able to work around that
> by running
>
> LD_PRELOAD=/usr/lib/libCore.so ./mybinary
>
> Cheers, Axel.
>
>
> On 04/13/2012 02:39 PM, Cristina Morales Morales wrote:
> >
> > Dear all,
> >
> > I am trying to run an executable provided by someone else (I do not have
> the
> > source code). Apparently it has been built with a 32bit system.
> > Doing ldd ./executable
> > I do not find any library missed.
> > However I get
> >
> > symbol lookup error: /usr/lib/libPhysics.so: undefined symbol: gRandom
> >
> > I have been searching for TRandom in internet and I found that some people
> have
> > it in libCore.so.
> > Where should it be in libCore or libPhysics?
> > What do I have to do to add it and where do I have to add it?
> >
> > Thanks a lot for your help,
> >
> > Cristina
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
> >
>

-- 
Dr. Cristina Morales 
Helmholtz Institute Mainz
Hadronphysics II - Nucleon Electromagnetic Form Factors
eMail: morales_at_kph.uni-mainz.de 
Tel.: +49  6131 39-25818 (Mainz office)
Fax.: +49 6131 39-22964

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Received on Fri Apr 13 2012 - 15:37:29 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 13 2012 - 17:50:01 CEST