1) Do you have /usr/lib or /usr/local/lib (or any other lib location) in /etc/ld.so.conf

$ cat /etc/ld.so.conf
---------------------------------------------------------
/usr/lib
/usr/local/lib
/usr/local/lib/wine
/usr/X11R6/lib
---------------------------------------------------------

After changes,  run "ldconfig" as root-user.
# ldconfig


2) Or set LD_LIBRARY_PATH locally and run your xxxx_program like this

export LD_LIBRARY_PATH=/usr/lib:/usr/local/lib   xxxx_program


3) Can you run the (non modified) samples ?


4) Search for library in your system
# updatedb  (as root user)
$ locate libdirectfb-0.9.so



Dipankar Das wrote:

Hi all
I am able to compile a program from:http://www.directfb.org/docs/DirectFB_Tutorials/simple.html. But while trying to run it gives the error: ./Directfb1: error while loading shared libraries: libdirectfb-0.9.so.22: cannot open shared object file: No such file or directory

Could any one let me know the solution?

Thanks
Dipankar

------------------------------------------------------------------------

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users


_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to