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

Add build.lisp and Makefile #20

Merged
merged 4 commits into from
Feb 20, 2019
Merged

Add build.lisp and Makefile #20

merged 4 commits into from
Feb 20, 2019

Conversation

ryukinix
Copy link
Owner

@ryukinix ryukinix commented Feb 20, 2019

Now it's possible just using make to generate a binary if there is a
proper environment prepared. However I didn't solve yet how I
distribute the binaries with dynamic libraries, but I'm trying.
Related problems & Solutions:

Now it's possible just using `make` to generate a binary if there is a
proper environment prepared. However I didn't solve yet how I
distribute the binaries with dynamic libraries.
It should working by looking for currently libraries available.
But LD_LIBRARY_PATH should works here. I'm thinking there is some
problem about cffi:*foreign-library-directories* part.
There is a semantic difference of a pathname and a string in Common
Lisp. sb-posix:getcwd only return a string and it doesn't works really
well with cffi:*foreign-library-directories*.

This fix everything! Now I can deploy the software with the dynamic
libraries in the root of the directory of lisp-chat binary.
@ryukinix ryukinix merged commit 4a11399 into master Feb 20, 2019
@ryukinix ryukinix deleted the build branch February 20, 2019 23:00
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

Successfully merging this pull request may close these issues.

1 participant