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

README should include information on how to produce libsbcl.so for example library #8

Open
notmgsk opened this issue Jan 21, 2022 · 1 comment

Comments

@notmgsk
Copy link
Member

notmgsk commented Jan 21, 2022

Requires compiling SBCL

  1. cd sbcl-src
  2. sh make.sh
  3. sh make-shared-library.sh

Then need to set LD_LIBRARY_PATH=/path/to/sbcl-src/src/runtime when compiling the executable. When running the executable, LD_LIBRARY_PATH=/path/to/sbcl-librian/example:/path/to/sbcl-src/src/runtime.

@karlosz
Copy link
Collaborator

karlosz commented Jan 21, 2022

I guess eventually the idea is that the shared library will ship in the right location with everything else in the binary distribution. Until that happens, you need the shared library from source or to link your C program directly with libsbcl.a.

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