{"action":"created","issue":{"url":"https://api.github.com/repos/curl/curl/issues/620","repository_url":"https://api.github.com/repos/curl/curl","labels_url":"https://api.github.com/repos/curl/curl/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/curl/curl/issues/620/comments","events_url":"https://api.github.com/repos/curl/curl/issues/620/events","html_url":"https://github.com/curl/curl/issues/620","id":129394811,"number":620,"title":"zsh.pl fails because libssl.so.1.0.0 cannot be found","user":{"login":"tiwoc","id":1260821,"avatar_url":"https://avatars.githubusercontent.com/u/1260821?v=3","gravatar_id":"","url":"https://api.github.com/users/tiwoc","html_url":"https://github.com/tiwoc","followers_url":"https://api.github.com/users/tiwoc/followers","following_url":"https://api.github.com/users/tiwoc/following{/other_user}","gists_url":"https://api.github.com/users/tiwoc/gists{/gist_id}","starred_url":"https://api.github.com/users/tiwoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiwoc/subscriptions","organizations_url":"https://api.github.com/users/tiwoc/orgs","repos_url":"https://api.github.com/users/tiwoc/repos","events_url":"https://api.github.com/users/tiwoc/events{/privacy}","received_events_url":"https://api.github.com/users/tiwoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-28T09:32:07Z","updated_at":"2016-02-19T18:02:21Z","closed_at":null,"body":"Environment:\r\n* cURL from git, tag curl-7_47_0\r\n* OS: Fedora 23, x86_64\r\n* OS-provided libssl: /usr/lib/libssl.so.10 (symlink), /usr/lib/libssl.so.1.0.2e (binary)\r\n* my own OpenSSL build: 1.0.1, installed to `/path/to/openssl` (which has the necessary `lib/` and `include/openssl` subdirectories)\r\n* relevant cURL configure flag: `--with-ssl=\"/path/to/openssl\"`\r\n\r\nConfiguration and building work fine up to the point when the zsh completion is generated. The latter fails:\r\n\r\n\tMaking all in scripts\r\n\tmake[1]: Entering directory '/path/to/curl/scripts'\r\n\t/usr/bin/perl ./zsh.pl ../src/curl > _curl\r\n\t../src/curl: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory\r\n\tcurl returned 127 with output:\r\n\tMakefile:548: recipe for target '_curl' failed\r\n\r\nI can fix the build by `export`ing `LD_LIBRARY_PATH=\"/path/to/openssl/lib\"` before running make. Is this intended or should the build system set the LD_LIBRARY_PATH itself if I provide `configure` with the path to my OpenSSL installation? I'm asking because `configure` outputs the following, which seems to be limited to the configure run itself:\r\n\r\n    configure: Added /path/to/openssl/lib to LD_LIBRARY_PATH\r\n\r\nThe failure is detected by make since 92a2041. Before that, it would fail silently so that I didn't recognize the issue in 7.46.0."},"comment":{"url":"https://api.github.com/repos/curl/curl/issues/comments/186333710","html_url":"https://github.com/curl/curl/issues/620#issuecomment-186333710","issue_url":"https://api.github.com/repos/curl/curl/issues/620","id":186333710,"user":{"login":"danielshahaf","id":2141904,"avatar_url":"https://avatars.githubusercontent.com/u/2141904?v=3","gravatar_id":"","url":"https://api.github.com/users/danielshahaf","html_url":"https://github.com/danielshahaf","followers_url":"https://api.github.com/users/danielshahaf/followers","following_url":"https://api.github.com/users/danielshahaf/following{/other_user}","gists_url":"https://api.github.com/users/danielshahaf/gists{/gist_id}","starred_url":"https://api.github.com/users/danielshahaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielshahaf/subscriptions","organizations_url":"https://api.github.com/users/danielshahaf/orgs","repos_url":"https://api.github.com/users/danielshahaf/repos","events_url":"https://api.github.com/users/danielshahaf/events{/privacy}","received_events_url":"https://api.github.com/users/danielshahaf/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T18:02:21Z","updated_at":"2016-02-19T18:02:21Z","body":"Perhaps zsh.pl could run during `make install` and use the freshly-installed curl binary (`${prefix}/bin/curl`, or more accurately, `${bindir}/curl`)?\r\n\r\n(Sorry for late response, I haven't seen the issue until just now.)"}}