error while loading shared libraries

Support for issues specific to the Linux operating systems.

error while loading shared libraries

Postby gathanasakis » Thu May 31, 2012 6:48 am

Hi,
i've just compiled my code with the command
gcc lu.c -lcublas -lcudart -L$CULA_LIB_PATH_64 -lcula_core -lcula_lapack
and i tried to run the executable a.out. But unfortunately i received this error:

./a.out: error while loading shared libraries: libcula_lapack.so: cannot open shared object file: No such file or directory

Any idea for solving this issue?

thank you.
John A.
gathanasakis
 
Posts: 3
Joined: Fri Mar 16, 2012 3:45 am

Re: error while loading shared libraries

Postby john » Thu May 31, 2012 7:53 am

Set your LD_LIBRARY_PATH to include $CULA_LIB_PATH_64.
john
Administrator
 
Posts: 587
Joined: Thu Jul 23, 2009 2:31 pm

Re: error while loading shared libraries

Postby gathanasakis » Sat Jun 02, 2012 11:33 pm

It worked!! Thank you for the response!
gathanasakis
 
Posts: 3
Joined: Fri Mar 16, 2012 3:45 am


Return to Linux Support

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest