Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent issue in linker unable to find library #50

Open
rucha97 opened this issue Dec 10, 2024 · 0 comments
Open

Persistent issue in linker unable to find library #50

rucha97 opened this issue Dec 10, 2024 · 0 comments

Comments

@rucha97
Copy link

rucha97 commented Dec 10, 2024

Hello,

Thank you for your wonderful work!

I am having an issue related to libcudart.co library visibility.

The linker cannot find libcudart.so during runtime. Even though I have it installed, the linker can't find it in the standard library paths.

FAILED: nvdiffrast_plugin.so c++ Buffer.o CudaRaster.o RasterImpl.cuda.o RasterImpl.o common.o rasterize.cuda.o interpolate.cuda.o texture.cuda.o texture.o antialias.cuda.o torch_bindings.o torch_rasterize.o torch_interpolate.o torch_texture.o torch_antialias.o -shared -L/home/rucha/anaconda3/lib/python3.11/site-packages/torch/lib -lc10 -lc10_cuda -ltorch_cpu -ltorch_cuda -ltorch -ltorch_python -L/usr/local/cuda-12.4/lib64 -lcudart -o nvdiffrast_plugin.so /usr/bin/ld: cannot find -lcudart: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.

What could be the possible fix?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant