libsim build issue
recall the error seen during the SENSEI tutorial at SC17:
c++ [options removed] -o ../../bin/3D_Grid ...[stuff removed] /local/apps/VisIt/2.13/current/linux-x86_64/libsim/V2/lib/libsimV2.a
/usr/bin/ld: /local/apps/VisIt/2.13/current/linux-x86_64/libsim/V2/lib/libsimV2.a(VisItControlInterface_V2.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
I solved it by looking at how I compiled my own libsim demos. To fix it, I added:
-Wl,-Bstatic /local/apps/VisIt/2.13/current/linux-x86_64/libsim/V2/lib/libsimV2.a -Wl,-Bdynamic -ldl