vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

ql:quickload :sketch fails with libffi error #47

Open brittAnderson opened 2 years ago

brittAnderson commented 2 years ago

cffi does not admit the possibility of libffi.so.8

One fix is to add to line 34 ~quicklisp/dists/quicklisp/software/cffi_0.24.1/libffi/libffi.lisp

  (:unix (:or "libffi.so.8" "libffi.so.7" "libffi32.so.7" "libffi.so.6" "libffi32.so.6" "libffi.so.5" "libffi32.so.5"))

Reporting it here as I discovered it trying to get sketch to run on ArchLinux where the libffi is installed via pacman.

I am a lisp noob. Appreciate comments on a better fix than editing the source code of some quicklisp installed package.

Should be fixed once this this pull request to cffi makes into the quicklisp version https://github.com/cffi/cffi/pull/191

antipodite commented 2 years ago

Thanks for this, I also encountered this issue on Arch

JamesMConroy commented 1 year ago

Also running into this issue on Fedora. I had to do something similar with the version of SDL2 in quicklisp/dists/quicklisp/software/cl-sdl2-ttf-20200925-git/src/library.lisp, but I get errors about The alien function "TTF_Init" is undefined.