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)
Re: None Re: error while loading shared libraries: libxerces-c-3.1.so (Ben Morgan)
Date: 30 Sep, 2011
From: Mark McCrea <Mark McCrea>

Good day Ben.

checking the environment variables I get

[Mark@localhost ~]$ printenv | grep xerces
PATH=/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/Mark/bin:/programs/xerces-c-3.1.1/bin:/home/Mark/g4work/bin/Linux-g++:/home/Mark/bin:/programs/xerces-c-3.1.1/bin:/home/Mark/g4work/bin/Linux-g++
XERCESCROOT=/programs/xerces-c-3.1.1

so it looks like the LD_LIBRARY_PATH for xerces is not being set. What I use to set the variables is the command

$source .bash_profile

where .bash_profile has the contents

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

#xerces c 3.1.1 environment variables
export PATH="$PATH:/programs/xerces-c-3.1.1/bin"
export LD_LIBRARY_PATH=/programs/xerces-c-3.1.1/lib:$LD_LIBRARY_PATH
export XERCESCROOT=/programs/xerces-c-3.1.1

#geant4 environment variables
export G4WORKDIR=/home/Mark/g4work
export LD_LIBRARY_PATH=/programs/CLHEP/lib
source /programs/geant4.9.2.p01/env.sh



Mark McCrea

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   (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 ]