Message: Re: Undefined reference to Errors to XercesC while Compiling Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Undefined reference to Errors to XercesC while Compiling 

Forum: Installation and Configuration
Re: None "Undefined Reference to" Errors to XercesC while Compiling (Kolahal Bhattacharya)
Re: Idea Re: Undefined reference to Errors to XercesC while Compiling (Michael H. Kelsey)
Date: 06 May, 2014
From: Kolahal Bhattacharya <Kolahal Bhattacharya>

Hi, thank you very much for your reply. I added the following lines but the error persists...
++++++++++++++++++++++++++++++++++++
source ~/GEANT4.9.6/geant4.9.6.p02-install/share/Geant4-9.6.2/geant4make/geant4make.sh

and

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
++++++++++++++++++++++++++++++++++++
in my setup file. "/usr/local/lib" contains libxerces-c.la, libxerces-c-3.1.so and link to libxerces-c.so.

My Xerces-C installation is from source, not from the package-manager. After its installation in "/home/kolahalb/HEP/GEANT4/Xerces/xerces-c-3.1.1", no lib or bin sub-directories were found here. The .la or .so files are in "/usr/local/lib". The directory "/usr/local/include" contains "xercesc" sub-directory containing "dom", "parsers" ... sub-sub-directories.

P.S. I also tried by adding:
export XERCESC_INCLUDE_DIR=/usr/local/include
export XERCESC_LIBRARY=/usr/local/lib

(http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/InstallationGuide/html/ch02s03.html#sect.AdvancedOptions)

But this also does not link...

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

1 None: Re: Undefined reference to Errors to XercesC while Compiling   (Ben Morgan - 07 May, 2014)
(_ None: Re: Undefined reference to Errors to XercesC while Compiling   (Kolahal Bhattacharya - 07 May, 2014)
 Add Message Add Message
to: "Re: Undefined reference to Errors to XercesC while Compiling"

 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 ]