Hi there,
I've just started building PSRCHIVE on a new Ubunut 20.04 LTS install, and after running the packages/armadillo.csh script to grab that library, I see the following error when it gets to linking pam. Since I just let the included package script install things in a place that PSRCHIVE can find, I'm a bit stuck. Make's error message is attached.
FWIW, I did the same for the SPLINTER package and that seems to have worked. (Although I did need to comment out the git checkout develop line in splinter.csh else I ran into missing header file issues.)
make[4]: Entering directory '/home/ubuntu/software/psrchive/More/Applications'
/bin/bash ../../libtool --tag=CXX --mode=link g++ -std=c++11 -O2 -Wall -pthread -L/home/ubuntu/software/psrchive/install/lib -L/usr/local/lib -o pam pam.o ../../More/libpsrmore.la ../../Base/libpsrbase.la ../../Util/libpsrutil.la ../../Util/epsic/src/libepsic.la -lm
libtool: link: g++ -std=c++11 -O2 -Wall -pthread -o .libs/pam pam.o -L/home/ubuntu/software/psrchive/install/lib -L/usr/local/lib ../../More/.libs/libpsrmore.so ../../Base/.libs/libpsrbase.so ../../Util/.libs/libpsrutil.so ../../Util/epsic/src/.libs/libepsic.so -lm -fopenmp -pthread -Wl,-rpath -Wl,/home/ubuntu/software/psrchive/install/lib
/usr/bin/ld: ../../More/.libs/libpsrmore.so: undefined reference to `TLS init function for arma::mt19937_64_instance'
/usr/bin/ld: ../../More/.libs/libpsrmore.so: undefined reference to `arma::mt19937_64_instance'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1400: pam] Error 1