[CP2K-user] cp2K installation error on Kubuntu 20.04

Albert C. N. Assonkeng alber... at gmail.com
Mon May 25 16:31:56 UTC 2020


Hi everyone, 
I encounter the following error during the installation of cp2K in ubuntu 
20.04.
/usr/bin/ld: 
/home/albert/cp2k/cp2k/tools/toolchain/install/libsmm/lib/libsmm_dnn.a(smm_dnn.o): 
relocation R_X86_64_32S against `.rodata' can not be used when making a PIE 
object; recompile with -fPIE
collect2: error: ld returned 1 exit status
make[4]: *** [/home/albert/cp2k/cp2k/obj/local/sopt/all.dep:123: 
/home/albert/cp2k/cp2k/exe/local/libcp2k_unittest.sopt] Error 1
make[3]: *** [Makefile:141: all] Error 2
If I recompile as suggested with option -fPIE, I obtain the followin error:
ERROR: (install_cp2k_toolchain.sh) Unknown flag: -fPIE
I am looking forward to a any suggestion than can help me solve this issue.

Regards
Albert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20200525/3df42fd3/attachment.htm>


More information about the CP2K-user mailing list