Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Unable to Locate Directories  (Read 1437 times)

0 Members and 1 Guest are viewing this topic.

Aremmegs

  • Newbie
  • *
  • Posts: 1
    • View Profile
Unable to Locate Directories
« on: August 22, 2011, 07:14:26 pm »
I am running Ubuntu 10.04 LTS. I have installed SMFL 2.0 using :
http://sfmlcoder.wordpress.com/2011/08/16/building-sfml-2-0-with-make-for-gcc/
After compiling any type of code successfully, I am unable to run the code. It keeps on displaying the following:

Code: [Select]
./Object: error while loading shared libraries: libsfml-system.so.2: cannot open shared object file: No such file or directory

However, I'm pretty sure I have the libraries already on my computer (/usr/local/lib/), but the system just cannot locate them?

What should I do?

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Unable to Locate Directories
« Reply #1 on: August 22, 2011, 08:11:17 pm »
Does the following link solves your problem ? http://ubuntuforums.org/showthread.php?t=420008
SFML / OS X developer

jkalmeij

  • Newbie
  • *
  • Posts: 8
    • View Profile
Unable to Locate Directories
« Reply #2 on: August 22, 2011, 08:13:43 pm »
Try the following command and see if no sfml libraries are found:
Code: [Select]
ldconfig -p | grep sfml

If this is the case, you have to set your library include path.
How this can be done: http://ubuntuforums.org/showthread.php?t=496553

 

anything