Open Asutu opened 4 years ago
OK, I think I could solve this (after one long day...).
I had to do the following before compilation:
$ LD_LIBRARY_PATH=/home/myname/Scratch/Software/Compilers/gcc/7.1.0/lib64:$LD_LIBRARY_PATH
$ LD_LIBRARY_PATH=/home/myname/Scratch/Software/libraries/boost/1_67_0-GCC7/lib:$LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH
$ export LIBRARY_PATH=~/Scratch/Software/Compilers/gcc/7.1.0/lib:$LIBRARY_PATH
It's better to add these variables to the .bash_profile
because otherwise the binary cannot link to these libraries in a new session.
Hi,
I'm having a bit of a strain to compile SHAPEIT4 and everything I have tried so far always ends up with an error.
The server I'm working on only has GCC 4.9.2 so I installed GCC 7.1.0 in a local directory. I also installed the Boost library with GCC 7.1.0 in a local directory. Both installs seems to have worked properly, at least as far as I can tell...
However, when trying to install SHAPEIT4 I always get an error that looks something like:
I also tried the suggestions in #7, but to no avail. After some googling I found that these errors could be because different libraries were compiled with different compiler versions, but that doesn't seem to be the case here?
Not sure what to do more. Did anyone experienced the same troubles and can share their solutions here?
Many thanks, Pedro
EDIT:
Boost version is 1_67_0.