/usr/local/bin/sqlcipher newlawbook.db
SQLCipher version 3.8.4.3 2014-04-03 16:53:12
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> ATTACH DATABASE 'out.encdb' as encrypted key '123';
sqlite> SELECT sqlcipher_export('encrypted');
dyld: lazy symbol binding failed: Symbol not found: _SecRandomCopyBytes
Referenced from: /usr/local/lib/libsqlcipher.0.dylib
Expected in: flat namespace
dyld: Symbol not found: _SecRandomCopyBytes
Referenced from: /usr/local/lib/libsqlcipher.0.dylib
Expected in: flat namespace
Trace/BPT trap
--
---
You received this message because you are subscribed to the Google Groups "SQLCipher Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlcipher+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
./libtool --mode=link gcc -DSQLITE_HAS_CODEC -framework Security -DSQLCIPHER_CRYPTO_CC -DSQLITE_OS_UNIX=1 -I. -I./src -I./ext/rtree -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -framework Security -DHAVE_READLINE=0 \
-o sqlcipher ./src/shell.c libsqlcipher.la \
-framework Security -rpath "/usr/local/lib"
libtool: link: gcc -DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_CC -DSQLITE_OS_UNIX=1 -I. -I./src -I./ext/rtree -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=0 -o sqlcipher ./src/shell.c ./.libs/libsqlcipher.a
Undefined symbols for architecture x86_64:
"_SecRandomCopyBytes", referenced from:
_sqlcipher_cc_random in libsqlcipher.a(sqlite3.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sqlcipher] Error 1
libtool: link: gcc -DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_CC -DSQLITE_OS_UNIX=1 -I. -I./src -I./ext/rtree -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=0 -o sqlcipher ./src/shell.c ./.libs/libsqlcipher.a
% gcc -framework Security -DSQLITE_HAS_CODEC -DSQLCIPHER_CRYPTO_CC -DSQLITE_OS_UNIX=1 -I. -I./src -I./ext/rtree -D_HAVE_SQLITE_CONFIG_H -DBUILD_sqlite -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -DHAVE_READLINE=0 -o sqlcipher ./src/shell.c ./.libs/libsqlcipher.a