Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for library.lisp for OpenBSD needed? #30

Open
rpx99 opened this issue Dec 6, 2023 · 1 comment
Open

Update for library.lisp for OpenBSD needed? #30

rpx99 opened this issue Dec 6, 2023 · 1 comment

Comments

@rpx99
Copy link

rpx99 commented Dec 6, 2023

Hi, is it correct to extend for OpenBSD the library.lisp file with "libSDL2_ttf.so.0.1" ?

(:unix (:or "libSDL2_ttf-2.0.so.0" "libSDL2_ttf" "libSDL2_ttf.so.0.1"))

If I don't it doesn't find the lib:

(ql:quickload :sdl2-ttf)
To load "sdl2-ttf":
Load 1 ASDF system:
sdl2-ttf
; Loading "sdl2-ttf"
....................
debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "main thread" RUNNING {10013D8003}>:
Unable to load any of the alternatives:
("libSDL2_ttf-2.0.so.0" "libSDL2_ttf")

On my system it's located here:

tron$ ldconfig -r | grep ttf 744:-lSDL2_ttf.0.1 => /usr/local/lib/libSDL2_ttf.so.0.1

Thanks.

@fitzsim
Copy link

fitzsim commented Sep 14, 2024

I cannot commit this one because it is not under lispgames. The similar patch for cl-sdl2-image did not cause any issues for me, so this one is probably also fine to go in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants