Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Issue with OpenSSL while the process installing go-sqlchiper #38

Closed
mrtinkz opened this issue Jul 22, 2016 · 7 comments
Closed

Issue with OpenSSL while the process installing go-sqlchiper #38

mrtinkz opened this issue Jul 22, 2016 · 7 comments

Comments

@mrtinkz
Copy link

mrtinkz commented Jul 22, 2016

I have the gcc properly installed. But looks like there seems to be an issue while installing go-sqlchiper. Has anyone tried to install the new release on windows yet. Any help is greatly appreciated. Thanks

go get github.com/OpenBazaar/openbazaar-go

github.com/OpenBazaar/openbazaar-go/vendor/github.com/xeodou/go-sqlcipher

....\workspace\src\github.com\OpenBazaar\openbazaar-go\vendor\github.com\xeodou\go-sqlcipher\sqlite3-binding.c:16824:26: fatal error: openssl/rand.h: No such file or directory
#include <openssl/rand.h>
^
compilation terminated.

@mrtinkz
Copy link
Author

mrtinkz commented Jul 22, 2016

This seems to be a related issue to go-sqlchiper

xeodou/go-sqlcipher#1

@hoffmabc
Copy link
Member

This is already discussed here.
#18

Try this:

Download https://www.openssl.org/source/openssl-1.0.1t.tar.gz
Decompress this folder into %GOPATH%\src\github.com\OpenBazaar\openbazaar-go\vendor\github.com\xeodou\go-sqlcipher\
go get github.com/OpenBazaar/openbazaar-go

@mrtinkz
Copy link
Author

mrtinkz commented Jul 22, 2016

My i forgot to mention, i am using the windows and not mac.

@hoffmabc
Copy link
Member

Were you able to get past it with the headers like I suggested?

@cpacia
Copy link
Member

cpacia commented Jul 23, 2016

@drwasho got it running on windows. Doc can you post the install instructions to the docs repo?

@mrtinkz
Copy link
Author

mrtinkz commented Jul 28, 2016

No i couldn't get past it. It did not work for me. I am using windows 7

@cpacia
Copy link
Member

cpacia commented Jul 28, 2016

fixed

@cpacia cpacia closed this as completed Jul 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants