Compile error

GROMACS version:
GROMACS modification: Yes/No
Here post your question Anyone can tell me what this error indicates


Linking CXX shared library …/…/lib/
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 against `.rodata.str1.1’ can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/] Error 1
make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [all] Error 2

Please post the full configure command, the above does not look like a correct cmake invocation.

exucse me did you resolve it ?