Compiling VTK in virtual environment

I have some trouble compiling VTK (8.9) using a conda virtual environment.
While trying to run make, ld cannot find some important shared libraries

/usr/bin/ld: cannot find /lib/ /usr/bin/ld: cannot find /usr/lib/libc_nonshared.a /usr/bin/ld: cannot find /lib/

I tried setting CMAKE_SYSROOT to the ~/miniconda3/x86_64-conda_cos6-linux-gnu/sysroot/ directory where these files are located. Since that basic attempt hasnt worked I feel I’m in over my head.

Any help?