SST build issue on Titan
Created by: kshitij-v-mehta
Building on Titan fails with the following error. Built as
cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/adios2/installation/ -DADIOS2_USE_DataMan=OFF -DADIOS2_USE_HDF5=OFF -DADIOS2_USE_Fortran=ON -DCMAKE_BUILD_TYPE=Release ../
[ 38%] Built target sst
Scanning dependencies of target adios2
../../../lib/libadios2_enet.a(unix.c.o): In function `enet_address_set_host':
/ccs/home/kmehta/opt/adios2/thirdparty/enet/enet/unix.c:126: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../../../lib/libadios2_evpath.a(ip_config.c.o): In function `get_qual_hostname':
/ccs/home/kmehta/opt/adios2/thirdparty/EVPath/EVPath/ip_config.c:344: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../../../lib/libadios2_evpath.a(ip_config.c.o): In function `get_self_ip_iface':
/ccs/home/kmehta/opt/adios2/thirdparty/EVPath/EVPath/ip_config.c:110: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../../../lib/libadios2_ffs.a(standard.c.o): In function `dlload_externs':
/ccs/home/kmehta/opt/adios2/thirdparty/ffs/ffs/cod/standard.c:687: undefined reference to `dlopen'
/ccs/home/kmehta/opt/adios2/thirdparty/ffs/ffs/cod/standard.c:690: undefined reference to `dlsym'
/usr/bin/ld: link errors found, deleting executable `../../../bin/cmprobe'
/usr/bin/sha1sum: ../../../bin/cmprobe: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [bin/cmprobe] Error 1
Missing -ldl
somewhere?