preseq icon indicating copy to clipboard operation
preseq copied to clipboard

Errors During make

Open robin-sto opened this issue 2 years ago • 7 comments

Hello,

I am trying to run a make and am getting errors regarding regex (errors attached). Could you please review and let me know what could be the issue?

Thank you. preseq.txt

robin-sto avatar Nov 28 '23 20:11 robin-sto

Your specific compiler version has a bug for the regex library. Try anything more recent among gcc compilers.

andrewdavidsmith avatar Nov 28 '23 21:11 andrewdavidsmith

Thank you. I was able to compile using gcc 9.3.0. However, when I try to run it, I get an error with glibcxx:

preseq -h preseq: /lib64/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by preseq) preseq: /lib64/libstdc++.so.6: version GLIBCXX_3.4.26' not found (required by preseq) preseq: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by preseq)

robin-sto avatar Nov 29 '23 14:11 robin-sto

That's due to a mismatch in the environment likely caused by an incomplete installation or configuration of the new compiler. Are you administering your system? If so, I can probably give pointers. If not, you'd have to take it up with your admin.

andrewdavidsmith avatar Nov 29 '23 19:11 andrewdavidsmith

Yes, I am the admin. We have an HPC cluster and I configured preseq as an R module which calls the binary. We can normally configure binaries this way.

robin-sto avatar Nov 29 '23 19:11 robin-sto

In that case I suggest fully removing all c compilers you are able to, and then reinstalling the one you are using (should be gcc 5.3 or later I think; I use 13 currently). This is the simplest If you can do it. Otherwise we will need to adjust paths.

andrewdavidsmith avatar Nov 29 '23 20:11 andrewdavidsmith

thanks, I added module load gcc/9.3.0 in the R tcl file and it works fine now. You can close this.

robin-sto avatar Nov 30 '23 12:11 robin-sto

Great! Thanks for the tip @stooz5

andrewdavidsmith avatar Nov 30 '23 14:11 andrewdavidsmith