Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

" unrecognized option `--ssl-cert' " #35

Open
crotel opened this issue Oct 8, 2020 · 4 comments
Open

" unrecognized option `--ssl-cert' " #35

crotel opened this issue Oct 8, 2020 · 4 comments
Labels

Comments

@crotel
Copy link

crotel commented Oct 8, 2020

sys: macOS Catalina[10.15.6]

openssl version: LibreSSL 2.8.3

follow =>

$ wget http://tar.gwsocket.io/gwsocket-0.3.tar.gz
$ tar -xzvf gwsocket-0.3.tar.gz
$ cd gwsocket-0.3/
$ ./configure --with-openssl=/usr/bin/openssl/
$ make
# make install

command
' gwsocket --ssl-cert=/path/to/my/ssl/cert --ssl-key=/path/to/my/ssl/key '
or
' gwsocket --ssl-cert /path/to/my/ssl/cert --ssl-key /path/to/my/ssl/key '

then failed with
" unrecognized option `--ssl-cert' "

any thing wrong?

PS: here is my config.log
config.log

@allinurl
Copy link
Owner

allinurl commented Oct 9, 2020

Does it work without specifying the path? e.g.,

./configure --with-openssl

@imatasic
Copy link

imatasic commented Oct 13, 2020

I have replicated this on Ubuntu 20,

when not using the path, the configure returns:

  Linker flags   : -lssl
  TLS/SSL        : yes

when not using the path (or using --with-openssl=yes ), the configure returns:

...
  Linker flags   : -lssl
  TLS/SSL        : yes
...

When using the path, it returns:

...
  Linker flags   :
  TLS/SSL        : /usr/bin/openssl
...

So I guess using the path is the wrong argument for that flag.


I stumbled here hopping that using the path would solve my issue, as I get the OpenSSL error when running make (#36).

@allinurl
Copy link
Owner

allinurl commented Oct 13, 2020

Referencing #36

@allinurl
Copy link
Owner

allinurl commented Jun 11, 2021

Any updates? Thanks

@allinurl allinurl added the build label Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants