I’m trying to install the LSST Stack using the newinstall.sh script for v12.0. I’m getting stuck on building mariadbclient, but I’m not sure how to diagnose the error. I’m using the RedHat software collections “devtoolset-3” to get a more recent gcc (4.9.2) per instructions here: C++11/14 (gcc 4.8) now the baseline.
[ 1/62 ] cfitsio 3360.lsst4 ... done.
[ 2/62 ] doxygen 1.8.5.lsst1 (already installed) done.
[ 3/62 ] eigen 3.2.5.lsst1 ... done.
[ 4/62 ] fftw 3.3.4.lsst2 ... done.
[ 5/62 ] gsl 1.16.lsst3 ... done.
[ 6/62 ] mariadbclient 10.1.11.lsst3 ... + setup --type=build -k -r .
++ /astro/ferguson1/jlong/lsststack/eups/bin/eups_setup DYLD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib --type=build -k -r .
+ eval export 'MYSQL_INCLUDE_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/include/mysql;' export 'DYLD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib;' export 'SETUP_MARIADBCLIENT='\''mariadbclient' LOCAL:/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3 -f Linux64 -Z '(none)'\'';' export 'LD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib:/opt/rh/devtoolset-3/root/usr/lib64:/opt/rh/devtoolset-3/root/usr/lib:/opt/rh/rh-ruby22/root/usr/lib64;' export 'MARIADBCLIENT_DIR=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3;' export 'PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/bin:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/bin:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/bin:/astro/ferguson1/jlong/lsststack/Linux64/doxygen/1.8.5.lsst1/bin:/astro/ferguson1/jlong/lsststack/eups/bin:/astro/ferguson1/jlong/lsststack/Linux64/lsst/2016_01.0-8-g0fc2317+2/bin:/astro/ferguson1/jlong/lsststack/Linux64/scons/2.3.5/bin:/astro/ferguson1/jlong/lsststack/Linux64/sconsUtils/2016_01.0-4-g49bc714/bin:/astro/ferguson1/jlong/lsststack/Linux64/miniconda2/3.19.0.lsst4/bin:/user/jlong/miniconda3/bin:/user/jlong/.linuxbrew/bin:/opt/rh/devtoolset-3/root/usr/bin:/opt/rh/rh-ruby22/root/usr/bin:/opt/rh/git19/root/usr/bin:/home/jlong/bin:/usr/local/bin:/opt/rh/rh-java-common/root/usr/bin:/usr/lib64/qt-3.3/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/grp/software/Linux/Wolfram/Mathematica/9.0/bin:/grp/software/Linux/RH6/x86_64/sm-2.4.36/bin;' export LSST_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib
++ export MYSQL_INCLUDE_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/include/mysql
++ MYSQL_INCLUDE_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/include/mysql
++ export DYLD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib
++ DYLD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib
++ export 'SETUP_MARIADBCLIENT=mariadbclient LOCAL:/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3 -f Linux64 -Z (none)'
++ SETUP_MARIADBCLIENT='mariadbclient LOCAL:/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3 -f Linux64 -Z (none)'
++ export LD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib:/opt/rh/devtoolset-3/root/usr/lib64:/opt/rh/devtoolset-3/root/usr/lib:/opt/rh/rh-ruby22/root/usr/lib64
++ LD_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib:/opt/rh/devtoolset-3/root/usr/lib64:/opt/rh/devtoolset-3/root/usr/lib:/opt/rh/rh-ruby22/root/usr/lib64
++ export MARIADBCLIENT_DIR=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3
++ MARIADBCLIENT_DIR=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3
++ export PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/bin:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/bin:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/bin:/astro/ferguson1/jlong/lsststack/Linux64/doxygen/1.8.5.lsst1/bin:/astro/ferguson1/jlong/lsststack/eups/bin:/astro/ferguson1/jlong/lsststack/Linux64/lsst/2016_01.0-8-g0fc2317+2/bin:/astro/ferguson1/jlong/lsststack/Linux64/scons/2.3.5/bin:/astro/ferguson1/jlong/lsststack/Linux64/sconsUtils/2016_01.0-4-g49bc714/bin:/astro/ferguson1/jlong/lsststack/Linux64/miniconda2/3.19.0.lsst4/bin:/user/jlong/miniconda3/bin:/user/jlong/.linuxbrew/bin:/opt/rh/devtoolset-3/root/usr/bin:/opt/rh/rh-ruby22/root/usr/bin:/opt/rh/git19/root/usr/bin:/home/jlong/bin:/usr/local/bin:/opt/rh/rh-java-common/root/usr/bin:/usr/lib64/qt-3.3/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/grp/software/Linux/Wolfram/Mathematica/9.0/bin:/grp/software/Linux/RH6/x86_64/sm-2.4.36/bin
++ PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/bin:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/bin:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/bin:/astro/ferguson1/jlong/lsststack/Linux64/doxygen/1.8.5.lsst1/bin:/astro/ferguson1/jlong/lsststack/eups/bin:/astro/ferguson1/jlong/lsststack/Linux64/lsst/2016_01.0-8-g0fc2317+2/bin:/astro/ferguson1/jlong/lsststack/Linux64/scons/2.3.5/bin:/astro/ferguson1/jlong/lsststack/Linux64/sconsUtils/2016_01.0-4-g49bc714/bin:/astro/ferguson1/jlong/lsststack/Linux64/miniconda2/3.19.0.lsst4/bin:/user/jlong/miniconda3/bin:/user/jlong/.linuxbrew/bin:/opt/rh/devtoolset-3/root/usr/bin:/opt/rh/rh-ruby22/root/usr/bin:/opt/rh/git19/root/usr/bin:/home/jlong/bin:/usr/local/bin:/opt/rh/rh-java-common/root/usr/bin:/usr/lib64/qt-3.3/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/grp/software/Linux/Wolfram/Mathematica/9.0/bin:/grp/software/Linux/RH6/x86_64/sm-2.4.36/bin
++ export LSST_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib
++ LSST_LIBRARY_PATH=/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/mariadbclient-10.1.11.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/gsl/1.16.lsst3/lib:/astro/ferguson1/jlong/lsststack/Linux64/fftw/3.3.4.lsst2/lib:/astro/ferguson1/jlong/lsststack/Linux64/cfitsio/3360.lsst4/lib
+ ./ups/eupspkg FLAVOR=Linux64 VERBOSE=0 config
cmake: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
+ exit -3
***** error: from /astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/build.log:
eups distrib: Failed to build mariadbclient-10.1.11.lsst3.eupspkg: Command:
source /astro/ferguson1/jlong/lsststack/eups/bin/setups.sh; export EUPS_PATH=/astro/ferguson1/jlong/lsststack; (/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/build.sh) >> /astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/build.log 2>&1 4>/astro/ferguson1/jlong/lsststack/EupsBuildDir/Linux64/mariadbclient-10.1.11.lsst3/build.msg
exited with code 253
Now, sure enough, the first place I thought to look (/usr/lib/
) I see libstdc++.so.6
is missing. My question is, does that fully explain the problem? (In which case, I will ask our IT people.) Or could it be that this is an interaction between the Software-Collections-provided g++ and the build script?