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

Error when install install_pycuda.sh file #587

Closed
gurselturkeri opened this issue Jan 15, 2023 · 2 comments
Closed

Error when install install_pycuda.sh file #587

gurselturkeri opened this issue Jan 15, 2023 · 2 comments

Comments

@gurselturkeri
Copy link

Hi, I would like to install install_pycuda.sh but I get error like this:
/usr/bin/ld: cannot find -lboost_python*-py3? collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-g++' failed with exit status 1 make: *** [Makefile:6: all] Error 1
Python: 3.8.10
Cuda: 11.6
TensorRT: 8.4.2-1

@bredebjorhovd
Copy link

I had the same issue. If you look at line 21 this refers to the boost_pylib path, so you need to find where this is on your computer.
To exemplify, heres how I changed my path

boost_pylib=$(basename /usr/lib/${arch}-linux-gnu/libboost_python38.so)

Hope this helps.

@jkjung-avt
Copy link
Owner

Same issue as #595.

Hopefully it has been fixed by 107b36a.

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

3 participants