简体   繁体   中英

trouble running sfml 2.0 Cannot Open Shared Object file, no such file or directory

here is an image of what is going on. I feel like it should give all the information needed.

Please help...this is driving me crazy. I am not sure where to go to even learn this stuff...

Thank you

Try to set LD_LIBRARY_PATH environment variable pointing to the folder where shared libraries are located:

export LD_LIBRARY_PATH = /path/to/so

In your case path is currebt directory, . Then start your executable

UPD: If your shell is not bash you might need to use setenv instead of export:

setenv LD_LIBRARY_PATH    .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM