Title: Build fails on Ubuntu 18.04 LTS with Linuxbrew · Issue #4715 · libgit2/libgit2 · GitHub
Open Graph Title: Build fails on Ubuntu 18.04 LTS with Linuxbrew · Issue #4715 · libgit2/libgit2
X Title: Build fails on Ubuntu 18.04 LTS with Linuxbrew · Issue #4715 · libgit2/libgit2
Description: Reproduction steps Download libgit2-0.27.2 untar mkdir build && cd build cmake .. cmake --build . Expected behavior Succesful build. Actual behavior [100%] Linking C executable ../libgit2_clar ../src/CMakeFiles/git2internal.dir/streams/o...
Open Graph Description: Reproduction steps Download libgit2-0.27.2 untar mkdir build && cd build cmake .. cmake --build . Expected behavior Succesful build. Actual behavior [100%] Linking C executable ../libgit2_clar ../s...
X Description: Reproduction steps Download libgit2-0.27.2 untar mkdir build && cd build cmake .. cmake --build . Expected behavior Succesful build. Actual behavior [100%] Linking C executable ../libgit2_c...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4715
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build fails on Ubuntu 18.04 LTS with Linuxbrew","articleBody":"### Reproduction steps\r\nDownload libgit2-0.27.2 \r\nuntar\r\nmkdir build \u0026\u0026 cd build\r\ncmake ..\r\ncmake --build .\r\n\r\n### Expected behavior\r\nSuccesful build.\r\n\r\n### Actual behavior\r\n[100%] Linking C executable ../libgit2_clar\r\n../src/CMakeFiles/git2internal.dir/streams/openssl.c.o: In function `shutdown_ssl_locking':\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:66: undefined reference to `CRYPTO_num_locks'\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:67: undefined reference to `CRYPTO_set_locking_callback'\r\n../src/CMakeFiles/git2internal.dir/streams/openssl.c.o: In function `git_openssl_stream_global_init':\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:109: undefined reference to `SSL_load_error_strings'\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:110: undefined reference to `SSL_library_init'\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:121: undefined reference to `SSLv23_method'\r\n../src/CMakeFiles/git2internal.dir/streams/openssl.c.o: In function `threadid_cb':\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:157: undefined reference to `CRYPTO_THREADID_set_numeric'\r\n../src/CMakeFiles/git2internal.dir/streams/openssl.c.o: In function `git_openssl_set_locking':\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:166: undefined reference to `CRYPTO_THREADID_set_callback'\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:168: undefined reference to `CRYPTO_num_locks'\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:179: undefined reference to `CRYPTO_set_locking_callback'\r\n../src/CMakeFiles/git2internal.dir/streams/openssl.c.o: In function `verify_server_cert':\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:380: undefined reference to `sk_num'\r\n/home/mac/Downloads/libgit2-0.27.2/src/streams/openssl.c:382: undefined reference to `sk_value'\r\ncollect2: error: ld returned 1 exit status\r\ntests/CMakeFiles/libgit2_clar.dir/build.make:10414: recipe for target 'libgit2_clar' failed\r\nmake[2]: *** [libgit2_clar] Error 1\r\nCMakeFiles/Makefile2:179: recipe for target 'tests/CMakeFiles/libgit2_clar.dir/all' failed\r\nmake[1]: *** [tests/CMakeFiles/libgit2_clar.dir/all] Error 2\r\nMakefile:140: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n libgit2-0.27.2\r\n\r\n### Operating system(s) tested\r\nUbuntu 18.04 LTS\r\n","author":{"url":"https://github.com/maacl","@type":"Person","name":"maacl"},"datePublished":"2018-07-06T17:42:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":32},"url":"https://github.com/4715/libgit2/issues/4715"}
| 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:7cecc8bc-52de-dd80-8e10-bee29ab77b78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D806:1FBD82:436A2C4:591DBB8:6A5D6541 |
| html-safe-nonce | c8e9d202eac58e3c68dde79cded76bf3d690e71377bcd6d33a0e4570685b34a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODA2OjFGQkQ4Mjo0MzZBMkM0OjU5MURCQjg6NkE1RDY1NDEiLCJ2aXNpdG9yX2lkIjoiNzM5MjA1MDQ4NTMwNTEwNzc3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b70de74c979c2ba2cc8b3c828131862eae84077b7baa5c3fc8c5abfc50b89fee |
| hovercard-subject-tag | issue:339021007 |
| 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/libgit2/4715/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2a297246fdfd5c548af456e90959189a8cf85e1d4359318916da556c0095c1de/libgit2/libgit2/issues/4715 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2a297246fdfd5c548af456e90959189a8cf85e1d4359318916da556c0095c1de/libgit2/libgit2/issues/4715 |
| og:image:alt | Reproduction steps Download libgit2-0.27.2 untar mkdir build && cd build cmake .. cmake --build . Expected behavior Succesful build. Actual behavior [100%] Linking C executable ../libgit2_clar ../s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maacl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width