Skip to content

Commit

Permalink
MacOS autotools build fix (#98)
Browse files Browse the repository at this point in the history
* Fix build in MacOS

* Fix JSON format in keyring.json

* Fix json formatting in keyring-valut.json file

* Fix json examples in docs

* Add MacOS steps to README.md

* Fix

* Fix build for linux

* Remove duplicated linker flag

* One more fix

* Update README.md

* Update comment in configure.ac

* Fix comments

* Revert json formatting

* Add newlines
  • Loading branch information
artemgavrilov authored Jan 19, 2024
1 parent 37880fd commit 5dbb90b
Show file tree
Hide file tree
Showing 4 changed files with 505 additions and 308 deletions.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

override SHLIB_LINK += @tde_LDFLAGS@ -lcrypto -lssl -lcurl
override SHLIB_LINK += @tde_LDFLAGS@ -lcrypto -lssl
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,16 @@ This setup is intended for developmenet, and stores the keys unencrypted in the

## Build from source

1. To build `pg_tde` from source code, you require the following on Ubuntu/Debian:
1. To build `pg_tde` from source code, you require the following:

* On Debian and Ubuntu:
```sh
sudo apt install make gcc autoconf libjson-c-dev libcurl4-openssl-dev postgresql-server-dev-16
```

* On MacOS:
```sh
sudo apt install make gcc libjson-c-dev postgresql-server-dev-16 libcurl4-openssl-dev
brew install make autoconf curl json-c gettext postresql@16
```

2. Install or build postgresql 16 [(see reference commit below)](#base-commit)
Expand Down
Loading

0 comments on commit 5dbb90b

Please sign in to comment.