Tuesday, September 03, 2024

Re: sbcl question

Robert Palm <developer@robert-palm.de> writes:

> Any idea what's wrong here ?
>
> tron$ doas pkg_add sbcl
> quirks-7.48 signed on 2024-09-01T21:44:41Z
> .libs-sbcl-2.4.4+.libs-sbcl-2.4.6+.libs1-sbcl-2.4.5->sbcl-2.4.7: ok
>
> tron$ sbcl --version
> SBCL 2.4.7.openbsd.sbcl-2.4.7
>
> tron$ pkg_info | grep sbcl
> sbcl-2.4.7 high performance Common Lisp compiler
>
> tron$ sbcl
> fatal error encountered in SBCL pid 61439 pthread 0x737994863e0:
> Can't find sbcl.core
>
> What does it mean with the older libs?
> .libs-sbcl-2.4.4+.libs-sbcl-2.4.6+.libs1-sbcl-2.4.5->sbcl-2.4.7: ok
>

sbcl.core file is expected to be at /usr/local/lib/sbcl/sbcl.core
so check that the package is properly installed (see pkg_check)

old libs-sbcl packages could be deleted, if you didn't create locally
program linking to libsbcl.so . (see pkg_delete)

additionnally, using 'pkg_add sbcl' is odd if you already have old sbcl
installed. 'pkg_add -u' (for update) is the normal way.

Regards.
--
Sebastien Marie

No comments:

Post a Comment