{"action":"created","issue":{"url":"https://api.github.com/repos/draios/sysdig/issues/669","repository_url":"https://api.github.com/repos/draios/sysdig","labels_url":"https://api.github.com/repos/draios/sysdig/issues/669/labels{/name}","comments_url":"https://api.github.com/repos/draios/sysdig/issues/669/comments","events_url":"https://api.github.com/repos/draios/sysdig/issues/669/events","html_url":"https://github.com/draios/sysdig/issues/669","id":185480334,"number":669,"title":"Executables in 0.12.0 are missing link dependency when linking against external OpenSSL","user":{"login":"hhoffstaette","id":499973,"avatar_url":"https://avatars.githubusercontent.com/u/499973?v=3","gravatar_id":"","url":"https://api.github.com/users/hhoffstaette","html_url":"https://github.com/hhoffstaette","followers_url":"https://api.github.com/users/hhoffstaette/followers","following_url":"https://api.github.com/users/hhoffstaette/following{/other_user}","gists_url":"https://api.github.com/users/hhoffstaette/gists{/gist_id}","starred_url":"https://api.github.com/users/hhoffstaette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhoffstaette/subscriptions","organizations_url":"https://api.github.com/users/hhoffstaette/orgs","repos_url":"https://api.github.com/users/hhoffstaette/repos","events_url":"https://api.github.com/users/hhoffstaette/events{/privacy}","received_events_url":"https://api.github.com/users/hhoffstaette/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-26T18:58:12Z","updated_at":"2016-11-01T15:33:47Z","closed_at":"2016-11-01T15:33:47Z","body":"> $cmake -DUSE_BUNDLED_DEPS=OFF .. && make -j8\n> ..\n> [ 89%] Linking CXX executable csysdig\n> /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../libsinsp/libsinsp.a(k8s_handler.cpp.o): undefined reference to symbol 'SSL_CTX_use_PrivateKey_file'\n> /usr/lib64/libssl.so.1.0.0: error adding symbols: DSO missing from command line\n> collect2: error: ld returned 1 exit status\n\nThe same for sysdig (csysdig is just the first failure).\nSure enough (temporarily) adding `-lssl -lcrypto` to the generated `<build>/userspace/sysdig/CMakeFiles/[c]sysdig.dir/link.txt` makes the link succeed. This indicates that OpenSSL should be a proper link dependency for the executables in `/userspace/sysdig/CMakeLists.txt`.\n\nCuriously enough this didn't seem to be the case in 0.11 either, but worked anyway; apparently the openssl references in the new k8s modules in 0.12's libsinsp.a seem to go unsatisfied for some reason.\n"},"comment":{"url":"https://api.github.com/repos/draios/sysdig/issues/comments/257598737","html_url":"https://github.com/draios/sysdig/issues/669#issuecomment-257598737","issue_url":"https://api.github.com/repos/draios/sysdig/issues/669","id":257598737,"user":{"login":"hhoffstaette","id":499973,"avatar_url":"https://avatars.githubusercontent.com/u/499973?v=3","gravatar_id":"","url":"https://api.github.com/users/hhoffstaette","html_url":"https://github.com/hhoffstaette","followers_url":"https://api.github.com/users/hhoffstaette/followers","following_url":"https://api.github.com/users/hhoffstaette/following{/other_user}","gists_url":"https://api.github.com/users/hhoffstaette/gists{/gist_id}","starred_url":"https://api.github.com/users/hhoffstaette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhoffstaette/subscriptions","organizations_url":"https://api.github.com/users/hhoffstaette/orgs","repos_url":"https://api.github.com/users/hhoffstaette/repos","events_url":"https://api.github.com/users/hhoffstaette/events{/privacy}","received_events_url":"https://api.github.com/users/hhoffstaette/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T15:33:47Z","updated_at":"2016-11-01T15:33:47Z","body":"Closing since it's fixed with commit 8763adc."}}
{"actor":{"display_login":"hhoffstaette"}}