Trouble installing lalinference/lalpulsar
I'm trying to build lalsuite for development purposes on a non-LDG machine that already has an old build of lalsuite in /usr/bin
//usr/lib
, and I think this already installed lalsuite is causing problems when I try to build a different version in a python virtual env.
The compilation seems to work ok for except for lalinference. The error shows up when I try and run some lalinference executable e.g.
lalinference_mcmc --help
lalinference_mcmc: symbol lookup error: /usr/lib/x86_64-linux-gnu/liblalsupport.so.11: undefined symbol: LALI2DestroyGrid
If I run ldd
on lalinference_mcmc
I get, among other libraries, the following two liblalsupport
files which I think is a problem.
liblalsupport.so.12 => /holohome/sebastian.khan/projects/pv3hm-pe/o3/non-review-install/venv-march2019-pv3/opt/lalsuite/lib/liblalsupport.so.12 (0x00007f1850af7000)
liblalsupport.so.11 => /usr/lib/x86_64-linux-gnu/liblalsupport.so.11 (0x00007f184d364000)
Is there a way to force the compiling to not pickup the system install of lalsupport?
I hope that was clear! Thanks in advance!
EDIT I noticed that my problem wasn't fixed when I disabled lalpulsar. It only appeared fixed to me because lalinference didn't get built and I was picking up the system install without realising it.