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

"ImportError: libcudart.so.7.0: wrong ELF class: ELFCLASS32" #28

Open
mxchinegod opened this issue Aug 18, 2016 · 0 comments
Open

"ImportError: libcudart.so.7.0: wrong ELF class: ELFCLASS32" #28

mxchinegod opened this issue Aug 18, 2016 · 0 comments

Comments

@mxchinegod
Copy link

mxchinegod commented Aug 18, 2016

Hey there.

This issue started recently when importing deeppy in a python shell (just checking to see that all works properly at the time)

"ImportError: libcudart.so.7.0: wrong ELF class: ELFCLASS32"

Not sure what to do.

export PATH=$PATH:/usr/local/cuda-7.0/bin
export LD_LIBRARY_PATH=:/usr/local/cuda-7.0/lib64
export INSTALL_PREFIX="/usr/local"
export CUDA_PREFIX="/usr/local/cuda"
export CUDNN_ENABLED=1
export CUDARRAY_BACKEND=numpy
export LD_LIBRARY_PATH=/usr/local/cuda/lib

are my env variables. Ubuntu 14.04, CUDA 7.

EDIT: I just discovered it's because several things broke in the 7.5 CUDA version for Ubuntu 14.04. As a result I did 7.0 which doesn't have a x64 binary. This means I have to try the NVIDIA abstract documentation for graphics installation on linux to figure out what goes wrong during the install of 7.5 on Ubuntu 14.04.

posting all of this in case someone runs into this.

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