RHEL 8 installing Pytorch Cuda with glibc error (after upgrading glibc)

I upgraded my glibc to 2.28. I am trying to install pytroch-cuda.
conda install -c pytorch pytorch-cuda
I get the error :

I using
RHEL 8.8
python 3.9
cuda 12.0
cudnn 8.9.3
nvidia drivers 525.125

What can I do to fix this issue? Is the RHEL version? Should I use an older version of pytorch? Is it my cuda version?