Fortran Cuda trouble

I installed CUDA and Fortran, but am unable to call the library. Can anyone tell me why this is the case? I posted part of the command prompt outlining the problem. Thanks,

Cuda_function.cu Cuda_function.o libcudart.so.2 libcudart.so.2.0 main.f90 Makefile Readme
[fff@atmosphere Fortran_Cuda] vi Cuda_function.cu [fff@atmosphere Fortran_Cuda] make
ifort -o complex_mul main.f90 Cuda_function.o -L/usr/local/cuda/lib -lcudart
[fff@atmosphere Fortran_Cuda]$ ./complex_mul
./complex_mul: error while loading shared libraries: libcudart.so.2: cannot open shared object file: No such file or directory

Specifically what did you install, and where did you install it?
Which Linux distribution you running?

I installed the “FORTRAN using pinned memory calling CUBLAS” (http://www.nvidia.com/object/cuda_programming_tools.html). It didn’t appear that I needed to install it in the CUDA folder, so I installed it in a different folder (the folder for CUDA is in /usr/local/cuda). I’m running Fedora 8.

Your problem is with your LD_LIBRARY_PATH.
Do ldd complex_mul and see if you are resolving the libraries.
If not, add this to your .bashrc

export LD_LIBRARY_PATH=/usr/local/cuda:$LD_LIBRARY_PATH