-
Notifications
You must be signed in to change notification settings - Fork 103
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
Cross compile docker script #14
Conversation
@ethanfrey This is the result of
|
Remote debugging here: https://stackoverflow.com/questions/17703510/dyld-library-not-loaded-reason-image-not-found Please try:
Maybe try setting |
After
|
@shanev I made another attempt here, maybe these work? |
|
Looks like the
Anyway, with the otool output, I will take it that nothing changed. |
6bb4a0b
to
54f4d85
Compare
With a bit of help, I discovered a solution to the problem, properly setting @rpath when compiling the libraries. I managed to get a valid build to work on an osx machine. But it needs some fixes, it leaves root files all over the |
Validated to work on osx - both the cross-compile output and the native |
* build: support cross-compile for private repo Remove docker -u option when cargo build because it occurs git config failure. * build: update linux prebuilt binary used 'make release-build-linux' * build: update macos prebuilt binary used 'make release-build-macos'
Closes #8
Dockerfile that builds linux and osx right now.
Details and README in the
build
directory.@shanev can you please checkout this branch and validate that
make test
works out of the box (using my generated .dylib, not yours).