I can not compile examples for CUDA with error that appear after I do make command in directory where examples are placed.
The error message is:
“/usr/local/cuda/bin/nvcc: error while loading shared libraries: libz.so.1: wrong ELF class: ELFCLASS32”
sdk and cudatoolkit was running on the system without errors and warnings.
I use Debian squeeze in current moment. On Debian lenny (previous version of Debian) on this computer compilation of the examples was without problem.
Linux myHost 2.6.32-5-amd64 #1 SMP Tue Mar 8 22:49:26 UTC 2011 x86_64 GNU/Linux
model name : Intel(R) Core™2 Duo CPU E4500 @ 2.20GHz
$glxinfo |grep -i opengl
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8600 GT/PCI/SSE2
OpenGL version string: 3.2.0 NVIDIA 195.36.31
OpenGL shading language version string: 1.50 NVIDIA via Cg compiler