Message: Re: GDML ERROR Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum


Forum: Installation and Configuration
Re: Question GDML ERROR (Jincai)
Date: May 09, 02:46
From: David Sarria <David Sarria>

It is a linking error, it means that it cannot find the xerces-c libraries during the build process (but it can find the header files). The header files indicates that "this xerces-c function with name xxx exists somewhere" but then it cannot find the binary files where these functions are implemented.

To help the build command to find the libraries, you should add or update some environment variables to indicate where libraries can be found. Try to add the following lines to your .bashrc file:

export C_INCLUDE_PATH=$C_INCLUDE_PATH:/path/to/xersesc_install/include/

export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/path/to/xersesc_install/include/

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/xersesc_install/lib64/

export LIBRARY_PATH=$LIBRARY_PATH:/path/to/xersesc_install/lib64/

If some of the variables are no defined yet, you should not append them, e.g. use "export LIBRARY_PATH=/path/to/xersesc_install/lib64/" instead of "export LIBRARY_PATH=$LIBRARY_PATH:/path/to/xersesc_install/lib64/"

Change "/path/to/xersesc_install" with relevant path. Be careful that it may be "lib" instead of "lib64" in your path. Also you need to to close and re-open a terminal to refresh the .bashrc or use command "source ~/.bashrc".

Best regards, -David

 Add Message Add Message
to: "Re: GDML ERROR"

 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 ]