Invalid CUDA installation?

I have a following problem:

On my desktop PC I have Ubuntu 12.04 LTS x64, driver version 304.123, CUDA Toolikt 5.0
On my laptop PC I have Ubuntu 14.04 LTS x64, driver version 331.38, CUDA Toolkit 5.5

When I compile my library on desktop PC and call it with ldd I get the following: =>  (0x00007fff65064000) => /usr/local/cuda/lib64/ (0x00007f69c731e000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c7091000) => /lib/x86_64-linux-gnu/ (0x00007f69c6cd2000)
/lib64/ (0x00007f69c807d000) => /usr/local/lib/ (0x00007f69c6cba000) => /lib/x86_64-linux-gnu/ (0x00007f69c6ab5000) => /lib/x86_64-linux-gnu/ (0x00007f69c67b9000) => /lib/x86_64-linux-gnu/ (0x00007f69c659c000) => /lib/x86_64-linux-gnu/ (0x00007f69c6393000) => /usr/lib/nvidia-304/ (0x00007f69c6076000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c5d6a000) => /lib/x86_64-linux-gnu/ (0x00007f69c5b52000) => /usr/lib/nvidia-304/tls/ (0x00007f69c594f000) => /usr/lib/nvidia-304/ (0x00007f69c3564000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c322f000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c301e000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c2dff000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c2bfc000) => /usr/lib/x86_64-linux-gnu/ (0x00007f69c29f6000)

While exactly the same code is complied on the laptop PC, ldd returns this: =>  (0x00007fff805fe000) => /lib/x86_64-linux-gnu/ (0x00007f3645e15000)
/lib64/ (0x00007f364656b000)

Anyone has a clue why is it this way? Something wrong with CUDA installation on laptop PC?