Title: Compiling under MacOS X does not work · Issue #557 · libgit2/libgit2sharp · GitHub
Open Graph Title: Compiling under MacOS X does not work · Issue #557 · libgit2/libgit2sharp
X Title: Compiling under MacOS X does not work · Issue #557 · libgit2/libgit2sharp
Description: I tried to compile under MacOS X and fix the problems, but there was too many and I just decided to stop and report the issue and some insight of what I've done so far. Basically, I got it compiling, but tests fail or cause mono to crash...
Open Graph Description: I tried to compile under MacOS X and fix the problems, but there was too many and I just decided to stop and report the issue and some insight of what I've done so far. Basically, I got it compilin...
X Description: I tried to compile under MacOS X and fix the problems, but there was too many and I just decided to stop and report the issue and some insight of what I've done so far. Basically, I got it comp...
Opengraph URL: https://github.com/libgit2/libgit2sharp/issues/557
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiling under MacOS X does not work","articleBody":"I tried to compile under MacOS X and fix the problems, but there was too many and I just decided to stop and report the issue and some insight of what I've done so far. Basically, I got it compiling, but tests fail or cause mono to crash. To compile, make these changes, by editing your existing *nix toolchain (build.libgit2sharp.sh & CI-build.msbuild) or create new ones just for mac:\n1. You need to use `DYLD_FALLBACK_LIBRARY_PATH` when adding native binaries to Mono's search path for MacOS X.\n2. Need to compile libgit2 for 32-bit instead of 64-bit, since the Mono release package for MacOS X is 32-bit only. That or compile your own version of Mono targeting 64-bit.\n3. Not sure if this is still needed, but I did it anyways, create a config file so you can set a [dllmap](http://www.mono-project.com/Config_DllMap). On MacOS X, native binaries end with .dylib instead of .so.\n4. You may need to modify how some files are copied around during the build process as well.\n\nAfter that, it should compile and run the tests, where you'll see the failing tests.\n","author":{"url":"https://github.com/dragan","@type":"Person","name":"dragan"},"datePublished":"2013-11-07T20:19:08Z","url":"https://github.com/libgit2/libgit2sharp/issues/557"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d23ee775-65c4-33b6-7af6-73f3e8ea4aa3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9272:30A692:53FED3:726019:6B00725F |
| html-safe-nonce | 200de1d2287616f997c00dcadf5500a9b6a3d794cb7ee00dd4138b0d14f072c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjcyOjMwQTY5Mjo1M0ZFRDM6NzI2MDE5OjZCMDA3MjVGIiwidmlzaXRvcl9pZCI6Ijg4MDg0MTIxNjYwMDYwMTE4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9802565263f634ef4ebe923c178ca130c994a2f2fd8e4e6dec8c06901cf9d75d |
| hovercard-subject-tag | issue:22293033 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/libgit2/libgit2sharp/557/issue_layout |
| twitter:image | https://opengraph.githubassets.com/880c45c8048b9d6e754d6924b64ae3a243a7127938920475b962020791c184e9/libgit2/libgit2sharp/issues/557 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/880c45c8048b9d6e754d6924b64ae3a243a7127938920475b962020791c184e9/libgit2/libgit2sharp/issues/557 |
| og:image:alt | I tried to compile under MacOS X and fix the problems, but there was too many and I just decided to stop and report the issue and some insight of what I've done so far. Basically, I got it compilin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dragan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16 |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2sharp git https://github.com/libgit2/libgit2sharp.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 1415168 |
| octolytics-dimension-repository_nwo | libgit2/libgit2sharp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1415168 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2sharp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84e563eb4b55f8fa102f325f117533cee9e3df4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width