Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Error in Pytorch wrapper #68

Open
prabhavag opened this issue Oct 1, 2018 · 2 comments
Open

Error in Pytorch wrapper #68

prabhavag opened this issue Oct 1, 2018 · 2 comments

Comments

@prabhavag
Copy link

nvcc -arch=sm_60 -std=c++11 --use_fast_math -lineinfo -maxrregcount 128 -I .. wavenet_infer.cu ../matrix.cpp -lz -Xcompiler -fPIC -shared -o wavenet_infer.so
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'wavenet_infer' failed
make: *** [wavenet_infer] Error 1

@prabhavag
Copy link
Author

It compiles after removing -lz. I wonder which library is that?

@drobison00
Copy link

Its a compression library 'libz'. Installing 'zlibc', and 'zlib1g-dev' will resolve the issue.

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

No branches or pull requests

2 participants