cl-raylib icon indicating copy to clipboard operation
cl-raylib copied to clipboard

cl-raylib installation issue

Open olegharput opened this issue 1 year ago • 3 comments

Unable to load foreign library (LIBRAYLIB). Error opening shared object "libraylib.so": libraylib.so: cannot open shared object file: No such file or directory. [Condition of type LOAD-FOREIGN-LIBRARY-ERROR]

olegharput avatar May 09 '23 11:05 olegharput

@olegharput looks like there is an error when loading cffi dependency, is there any more error stack info? If possible, I can take a look as well.

longlene avatar May 11 '23 22:05 longlene

@olegharput Did you install the raylib dependency? Depends on your OS, could be yum install raylib or apt install raylib

longlene avatar May 16 '23 16:05 longlene

@Oleg-Harput Maybe you can try:

  1. move so file to /usr/local/lib, or even /usr/lib
  2. add path of directory to LD_LIBRARY_PATH environment variable

Please also refer to the following link if it can not work https://www.quicklisp.org/beta/UNOFFICIAL/docs/cffi/doc/_002aforeign_002dlibrary_002ddirectories_002a.html

longlene avatar May 24 '23 20:05 longlene