'GLIBCXX_3.4.30' not found

Could you post a minimal and executable code snippet to reproduce the issue or is it already failing during the import?
I’ve created a new and clean conda environment and cannot reproduce any issues:

>>> import torch
>>> torch.randn(1).cuda()
tensor([0.2782], device='cuda:0')                                                                                                                                                                                  
>>> torch.__version__
>>> torch.version.cuda

installed via:

conda install pytorch torchvision pytorch-cuda=11.8 -c pytorch -c nvidia