Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

build-amalgamation.sh fails on macOS #20

@brendand

Description

@brendand

When building on Mac, build-amalgamation.sh fails with an error saying that it can't find Library crypto and suggests including OpenSSL:

configure: error: Library crypto not found. Install openssl!"

The solution is to change the configure line to this to include commoncrypto support:

./configure --enable-tempstore=yes --with-crypto-lib=commoncrypto CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_TEMP_STORE=2"

Then after you run build-osx.sh you get an error saying that it couldn't find the osx-static scheme:

xcodebuild: error: The project named "libsqlcipher" does not contain a scheme named "osx-static". The "-list" option can be used to find the names of the schemes in the project.

I worked around this problem by opening the libsqlcipher Xcode project and changing the Architectures build property to the Standard Architecture 64 bit Intel option. Not sure if that was a coincidence but it did work after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions