Visual Profiler on 64-bit?

Hi, I’m trying to run the CUDA Visual Profiler on 64-bit Ubuntu 7.10. I know Ubuntu isn’t officially supported, but the profiler ran fine on 32-bit Ubuntu 7.10. This is what I get:

horse@horse:~/NVIDIA_CUDA_SDK/CudaVisualProfiler-0.2/bin$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`:/usr/lib

horse@horse:~/NVIDIA_CUDA_SDK/CudaVisualProfiler-0.2/bin$ ./cudaprof 

./cudaprof: error while loading shared libraries: libSM.so.6: wrong ELF class: ELFCLASS64

Does anyone have any ideas? Much appreciated!

Did you install the 32bit compatibility libraries that ship with the OS?

Wait, I think I got it. I installed the ia32-libs package, and some other stuff that had “32” in the package name , and the profiler seems to run fine. :magic:

edit: netllama: Thanks for the reply! Yep, that was indeed the problem.

Edit 2: beware that the package manager seemed to want to uninstall the util-linux package, which seems necessary to a functioning system. I stopped it from removing that package, and things are fun.