fiedl / icecube-simulation-install

Build instructions for a reproducible install of the icecube-simulation framework.
0 stars 0 forks source link

Zeuthen: topsimulator-test: root-v5.30.06/lib/libCore.so, not found #7

Open fiedl opened 5 years ago

fiedl commented 5 years ago

Versions:

How to reproduce

Environment:

# ~/.zshenv

export SCRATCH="/afs/ifh.de/group/amanda/scratch/fiedl"
eval `/cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/setup.sh`

export ICECUBE_ROOT="$SCRATCH/software"
export CUDA_CACHE_DISABLE=1

export RELEASE=V06-01-01
export ICESIM_ROOT=$ICECUBE_ROOT/icecube-simulation-$RELEASE
export ICESIM=$ICESIM_ROOT/debug_build

export I3_PORTS=$ICECUBE_ROOT/ports

export SVN="http://code.icecube.wisc.edu/svn"
export GEANT4_CONFIG=$(which geant4-config)
export I3_SRC=$ICESIM_ROOT/src
export I3_BUILD=$ICESIM
export I3_TESTDATA=/cvmfs/icecube.opensciencegrid.org/data/i3-test-data

Build:

[2019-09-25 18:58:38] fiedl@wgs30 /afs/ifh.de/group/amanda/scratch/fiedl/software/icecube-simulation-V06-01-01/src
▶ rm -r rootwriter

[2019-09-25 18:58:53] fiedl@wgs30 /afs/ifh.de/group/amanda/scratch/fiedl/software/icecube-simulation-V06-01-01/debug_build
▶ cmake -D CMAKE_BUILD_TYPE=Debug -D SYSTEM_PACKAGES=true -D CMAKE_BUILD_TYPE:STRING=Debug ../src
▶ make
▶ make test-bins
[ 97%] Linking CXX executable ../bin/topsimulator-test
/cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/RHEL_7_x86_64/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/binutils-2.31.1-lh5ncjznzy34ztyisj5w2aytsqhz47i5/bin/ld: warning: libpcre.so.0, needed by /afs/ifh.de/group/amanda/scratch/fiedl/software/ports/root-v5.30.06/lib/libCore.so, not found (try using -rpath or -rpath-link)
/cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/RHEL_7_x86_64/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/binutils-2.31.1-lh5ncjznzy34ztyisj5w2aytsqhz47i5/bin/ld: /afs/ifh.de/group/amanda/scratch/fiedl/software/ports/root-v5.30.06/lib/libCore.so: undefined reference to `pcre_exec'
/cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/RHEL_7_x86_64/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/binutils-2.31.1-lh5ncjznzy34ztyisj5w2aytsqhz47i5/bin/ld: /afs/ifh.de/group/amanda/scratch/fiedl/software/ports/root-v5.30.06/lib/libCore.so: undefined reference to `pcre_study'
/cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/RHEL_7_x86_64/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/binutils-2.31.1-lh5ncjznzy34ztyisj5w2aytsqhz47i5/bin/ld: /afs/ifh.de/group/amanda/scratch/fiedl/software/ports/root-v5.30.06/lib/libCore.so: undefined reference to `pcre_free'
/cvmfs/icecube.opensciencegrid.org/py3-v4.0.1/RHEL_7_x86_64/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/binutils-2.31.1-lh5ncjznzy34ztyisj5w2aytsqhz47i5/bin/ld: /afs/ifh.de/group/amanda/scratch/fiedl/software/ports/root-v5.30.06/lib/libCore.so: undefined reference to `pcre_compile'
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[3]: *** [bin/topsimulator-test] Fehler 1
make[2]: *** [topsimulator/CMakeFiles/topsimulator-test.dir/all] Fehler 2
make[1]: *** [CMakeFiles/test-bins.dir/rule] Fehler 2
make: *** [test-bins] Fehler 2

Can be circumvented by removing topsimulator

[2019-09-25 19:27:03] fiedl@wgs30 /afs/ifh.de/group/amanda/scratch/fiedl/software/icecube-simulation-V06-01-01/src
▶ rm -r topsimulator

[2019-09-25 19:27:13] fiedl@wgs30 /afs/ifh.de/group/amanda/scratch/fiedl/software/icecube-simulation-V06-01-01/debug_build
▶ cmake -D CMAKE_BUILD_TYPE=Debug -D SYSTEM_PACKAGES=true -D CMAKE_BUILD_TYPE:STRING=Debug ../src
▶ make
▶ make test-bins