Some basic SDK Examples dont work sdk 3.0

hello,
i have Ubuntu Karmic 9.10-64bit koala and a 9800GTX+
and installed tool-kit 3.0 64-bit

i downgraded to gcc 4.3 to avoid problems.

gpuComputingSDK 3.0 compiled succesfully wihout errors for both CUDA and OpenCL
many examples do work
but when i try to run the most basic one ./oclDevicequery it just hangs out doing nothing.

what could be the cause of this?? devicequery should work easily

This is a shot in the dark, and but try using sudo. I remember running into a similar problem and thats how I think I managed to overcome it. As for getting everything to compile, make sure you have all the dependencies, like freeglut, etc.