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

OSX build fixes + binaries from CI + Travis CI for OSX #267

Merged
merged 6 commits into from
Aug 26, 2020

Conversation

tizoc
Copy link
Contributor

@tizoc tizoc commented Aug 20, 2020

@tizoc
Copy link
Contributor Author

tizoc commented Aug 20, 2020

SOLVED

There is still something weird going on with linking, because instead of using libtezos.dylib, the produced binaries try to use src/lib_ffi/ffi_main.so instead (I have to make a symlink or copy for it to work):

dyld: Library not loaded: src/lib_ffi/ffi_main.so

I have to figure that out and make a few more changes to build.rs so that it uses the .dylib extension when copying the lib file in OSX.

@tizoc
Copy link
Contributor Author

tizoc commented Aug 20, 2020

Ok, OSX has this thing called install_name_tool, what I have to do is to update the dune file in tezos to correct libtezos-ffi.dylib and set the install_name to libtezos.dylib.

@tizoc tizoc changed the title WIP: OSX build fixes + binaries from CI OSX build fixes + binaries from CI Aug 21, 2020
@tizoc tizoc changed the title OSX build fixes + binaries from CI OSX build fixes + binaries from CI + Travis CI for OSX Aug 24, 2020
@tizoc tizoc force-pushed the osx-build-fixes branch 6 times, most recently from c34fe4b to 36894d3 Compare August 25, 2020 18:45
@bkontur bkontur merged commit 51012df into develop Aug 26, 2020
@bkontur bkontur deleted the osx-build-fixes branch August 26, 2020 14:11
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.

None yet

2 participants