Message: Re: error while loading shared libraries: libxerces-c-3.1.so Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: error while loading shared libraries: libxerces-c-3.1.so  

Forum: Installation and Configuration
Re: Question error while loading shared libraries: libxerces-c-3.1.so (Mark McCrea)
Date: 30 Sep, 2011
From: Ben Morgan <Ben Morgan>

Hi Mark,

On Thu, 29 Sep 2011 18:40:41 GMT, Mark McCrea wrote:
> ...snip...
> [ Mark@localhost G01]$ load_gdml axes.gdml
> 
> load_gdml: error while loading shared libraries: libxerces-c-3.1.so:
> cannot open shared object file: No such file or directory
> 
> If on the command line I type locate libxerces-c-3 it I get
> 
> [ Mark@localhost ~]$ locate libxerces-c-3
> 
> /programs/xerces-c-3.1.1/lib/libxerces-c-3.1.so
> 
> /programs/xerces-c-3.1.1/src/.libs/libxerces-c-3.1.so
> 
> so the file is present. Following advice found online I copied the .so
> in question to /usr/lib and /usr/local/lib and still the file is not
> found when I try to run the N01 or G01 even if the the example are
> rebuilt.
> 
> Does anyone have any advice as to why this could be happening?

Given that your application was linked o.k., and is clearly linked to the XercesC library, I would initially suspect an issue with the setting of your LD_LIBRARY_PATH. Whilst you took some care with setting that, could you check that it does indeed contain the path to the Xerces library, /programs/xerces-c-3.1.1/lib. Admittedly if you copied the library to /usr/lib I think it should have been picked up, but let's cross check the original setup first.

The only other thing I'd note, although I don't think it relates to this issue, is that you're using a very old version of Geant4.

Cheers,

Ben.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: error while loading shared libraries: libxerces-c-3.1.so   (Mark McCrea - 30 Sep, 2011)
(_ None: Re: error while loading shared libraries: libxerces-c-3.1.so   (Mark McCrea - 30 Sep, 2011)
(_ None: Re: error while loading shared libraries: libxerces-c-3.1.so   (John Allison - 03 Oct, 2011)
 Add Message Add Message
to: "Re: error while loading shared libraries: libxerces-c-3.1.so "

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]