Skip to content

Difficulty loading cl-sdl2-mixer with quicklisp #14

@NeonFrost

Description

@NeonFrost

[using SBCL]
(ql:quickload :sdl2-mixer) causes repl to drop to debugger, requiring user input of restart 0, does not happen with sdl2, sdl2-image or sdl2-ttf

restart 0 (reload foreign library) 'fixes' problem, but must be done each time lisp is started (through slime or cli)
info:

 (ql:quickload :sdl2-mixer)
To load "sdl2-mixer":
  Load 5 ASDF systems:
    alexandria asdf cl-autowrap sdl2 trivial-garbage
  Install 1 Quicklisp release:
    cl-sdl2-mixer
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-sdl2-mixer/2024-10-12/cl-sdl2-mixer-20241012-git.tgz">
; 367.28KB
==================================================
376,092 bytes in 0.12 seconds (3139.10KB/sec)
; Loading "sdl2-mixer"
[package sdl2-mixer]
debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD tid=37130 "main thread" RUNNING {1000B88093}>:
  Unable to load any of the alternatives:
   ("libSDL2_mixer-2.0.so.0" "libSDL2_mixer")

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Try loading the foreign library again.
  1: [USE-VALUE                    ] Use another library instead.
  2: [TRY-RECOMPILING              ] Recompile library and try loading it again
  3: [RETRY                        ] Retry
                                     loading FASL for #<CL-SOURCE-FILE "sdl2-mixer" "library">.
  4: [ACCEPT                       ] Continue, treating
                                     loading FASL for #<CL-SOURCE-FILE "sdl2-mixer" "library">
                                     as having been successful.
  5:                                 Retry ASDF operation.
  6: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  7:                                 Retry ASDF operation.
  8:                                 Retry ASDF operation after resetting the
                                     configuration.
  9: [ABORT                        ] Give up on "sdl2-mixer"
 10: [REGISTER-LOCAL-PROJECTS      ] Register local projects and try again.
 11:                                 Exit debugger, returning to top level.

(CFFI::FL-ERROR "Unable to load any of the alternatives:~%   ~S" ("libSDL2_mixer-2.0.so.0" "libSDL2_mixer"))
   source: (ERROR 'LOAD-FOREIGN-LIBRARY-ERROR :FORMAT-CONTROL CONTROL
                  :FORMAT-ARGUMENTS ARGUMENTS)
0] 0    
.........
(:SDL2-MIXER)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions