-
Notifications
You must be signed in to change notification settings - Fork 2
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
code assumes sqlcipher is already install on Linux platforms? #2
Comments
@michael-ts yeah, to be honest, I didn't even try Linux. Any pull request is welcome. I'm not sure what should the commands be like:
|
Maybe I should add a "WIP" or "EXPERIMENTAL" tag to this project. Thanks everyone who gives it a try ;) I'm not familiar with C/Linux stuff, but I would try my best to help anyone who is in trouble like I did. |
Meh. I just discovered that it isn't properly installing sqlcipher on my Mac either. I hadn't had time to track down some issues I was having, and it turns out installing unix-sqlcipher (via cross-sqlcipher) via npm has no sqlcipher support. Uninstalled and re-installed, saw this message:
|
@michael-ts see Homebrew/brew#364 |
Looks like even if sqlcipher is installed it still may not worked because postinstall.js is assuming stuff is in /usr/local, but under Ubuntu if I |
@michael-ts I'm not familiar haha but it was copied from here: |
I'm trying to install this on a Linux based device and keep getting various errors.
First, it was complaining about sqlite3.h not being found, so I found a recent copy I had lying around and copied it to /usr/include. Then it complained about -lsqlcipher being found.
I looked at the postinstall script, and it appears that for darwin it uses
brew
to install sqlcipher, but for Linux it just blindly assumes it is there.The text was updated successfully, but these errors were encountered: