{"action":"created","issue":{"url":"https://api.github.com/repos/litespeedtech/lsquic-client/issues/17","repository_url":"https://api.github.com/repos/litespeedtech/lsquic-client","labels_url":"https://api.github.com/repos/litespeedtech/lsquic-client/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/litespeedtech/lsquic-client/issues/17/comments","events_url":"https://api.github.com/repos/litespeedtech/lsquic-client/issues/17/events","html_url":"https://github.com/litespeedtech/lsquic-client/issues/17","id":316553893,"number":17,"title":"make Isquic-client failed on macOS.","user":{"login":"gnolizuh","id":5226985,"avatar_url":"https://avatars3.githubusercontent.com/u/5226985?v=4","gravatar_id":"","url":"https://api.github.com/users/gnolizuh","html_url":"https://github.com/gnolizuh","followers_url":"https://api.github.com/users/gnolizuh/followers","following_url":"https://api.github.com/users/gnolizuh/following{/other_user}","gists_url":"https://api.github.com/users/gnolizuh/gists{/gist_id}","starred_url":"https://api.github.com/users/gnolizuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnolizuh/subscriptions","organizations_url":"https://api.github.com/users/gnolizuh/orgs","repos_url":"https://api.github.com/users/gnolizuh/repos","events_url":"https://api.github.com/users/gnolizuh/events{/privacy}","received_events_url":"https://api.github.com/users/gnolizuh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-22T06:40:36Z","updated_at":"2018-04-22T07:42:12Z","closed_at":"2018-04-22T07:42:12Z","author_association":"NONE","body":"According to the installation documentation, I started to compile Isquic-client after installing the boringSSL library. When I went to the make step, I got the following error. I don't know what the problem is. \r\n\r\nHere is my OS version (macOS High Sierra 10.13.3), Thanks for any help.\r\n\r\n[ 33%] Built target lsquic\r\n[ 33%] Linking C executable http_client\r\nUndefined symbols for architecture x86_64:\r\n  \"_CRYPTO_library_init\", referenced from:\r\n      _crypto_init in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_EVP_DigestSignUpdate\", referenced from:\r\n      _gen_prof in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_EVP_DigestVerifyUpdate\", referenced from:\r\n      _verify_prof0 in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_EVP_PKEY_CTX_set_rsa_padding\", referenced from:\r\n      _gen_prof in liblsquic.a(lsquic_crypto.c.o)\r\n      _verify_prof0 in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_EVP_PKEY_CTX_set_rsa_pss_saltlen\", referenced from:\r\n      _gen_prof in liblsquic.a(lsquic_crypto.c.o)\r\n      _verify_prof0 in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_EVP_PKEY_assign_RSA\", referenced from:\r\n      _PEM_to_key in liblsquic.a(lsquic_crypto.c.o)\r\n      _read_rsa_priv_key in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_RSA_private_key_from_bytes\", referenced from:\r\n      _read_rsa_priv_key in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_X25519\", referenced from:\r\n      _c255_gen_share_key in liblsquic.a(lsquic_crypto.c.o)\r\n  \"_X25519_public_from_private\", referenced from:\r\n      _c255_get_pub_key in liblsquic.a(lsquic_crypto.c.o)\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [http_client] Error 1\r\nmake[1]: *** [CMakeFiles/http_client.dir/all] Error 2\r\nmake: *** [all] Error 2"},"comment":{"url":"https://api.github.com/repos/litespeedtech/lsquic-client/issues/comments/383362236","html_url":"https://github.com/litespeedtech/lsquic-client/issues/17#issuecomment-383362236","issue_url":"https://api.github.com/repos/litespeedtech/lsquic-client/issues/17","id":383362236,"user":{"login":"gnolizuh","id":5226985,"avatar_url":"https://avatars3.githubusercontent.com/u/5226985?v=4","gravatar_id":"","url":"https://api.github.com/users/gnolizuh","html_url":"https://github.com/gnolizuh","followers_url":"https://api.github.com/users/gnolizuh/followers","following_url":"https://api.github.com/users/gnolizuh/following{/other_user}","gists_url":"https://api.github.com/users/gnolizuh/gists{/gist_id}","starred_url":"https://api.github.com/users/gnolizuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnolizuh/subscriptions","organizations_url":"https://api.github.com/users/gnolizuh/orgs","repos_url":"https://api.github.com/users/gnolizuh/repos","events_url":"https://api.github.com/users/gnolizuh/events{/privacy}","received_events_url":"https://api.github.com/users/gnolizuh/received_events","type":"User","site_admin":false},"created_at":"2018-04-22T07:42:12Z","updated_at":"2018-04-22T07:42:12Z","author_association":"NONE","body":"I found the problem, when setting boringSSL lib path to $HOME/tmp/boringssl-libs then CMAKE with -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs option. Even if your boringSSL lib path is /usr/local/lib, you also need CMAKE with DBORINGSSL_LIB=/usr/local/lib."}}
{"actor":{"display_login":"gnolizuh"}}