<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Seems builds no problem…<div class=""><div class="">To start postgresql:</div><div class="">  brew services start postgresql</div><div class="">Or, if you don't want/need a background service you can just run:</div><div class="">  /opt/homebrew/opt/postgresql/bin/postgres -D /opt/homebrew/var/postgres</div><div class="">bmaxa@Branimirs-Air ~ % cabal install persistent-postgresql</div><div class="">Warning: The package list for '<a href="http://hackage.haskell.org" class="">hackage.haskell.org</a>' is 69 days old.</div><div class="">Run 'cabal update' to get the latest list of available packages.</div><div class="">Warning: The package list for '<a href="http://hackage.haskell.org" class="">hackage.haskell.org</a>' is 69 days old.</div><div class="">Run 'cabal update' to get the latest list of available packages.</div><div class="">Resolving dependencies...</div><div class="">Build profile: -w ghc-8.10.7 -O1</div><div class="">In order, the following will be built (use -v for more details):</div><div class=""> - Only-0.1 (lib) (requires build)</div><div class=""> - blaze-builder-0.4.2.1 (lib) (requires download & build)</div><div class=""> - base-compat-0.11.2 (lib) (requires build)</div><div class=""> - base-orphans-0.8.4 (lib) (requires build)</div><div class=""> - base64-bytestring-1.2.0.1 (lib) (requires download & build)</div><div class=""> - bytestring-builder-0.10.8.2.0 (lib) (requires download & build)</div><div class=""> - dlist-1.0 (lib) (requires build)</div><div class=""> - data-default-class-0.1.2.0 (lib:data-default-class) (requires build)</div><div class=""> - hsc2hs-0.68.7 (exe:hsc2hs) (requires build)</div><div class=""> - hashable-1.3.2.0 (lib) (requires build)</div><div class=""> - old-locale-1.0.0.7 (lib) (requires download & build)</div><div class=""> - lift-type-0.1.0.1 (lib) (requires download & build)</div><div class=""> - monad-loops-0.4.3 (lib) (requires download & build)</div><div class=""> - indexed-traversable-0.1.1 (lib) (requires build)</div><div class=""> - unliftio-core-0.2.0.1 (lib) (requires download & build)</div><div class=""> - integer-logarithms-1.0.3.1 (lib) (requires build)</div><div class=""> - unix-compat-0.5.3 (lib) (requires download & build)</div><div class=""> - primitive-0.7.1.0 (lib) (requires build)</div><div class=""> - path-pieces-0.2.1 (lib) (requires download & build)</div><div class=""> - silently-1.2.5.1 (lib) (requires download & build)</div><div class=""> - split-0.2.3.4 (lib) (requires download & build)</div><div class=""> - splitmix-0.1.0.3 (lib) (requires build)</div><div class=""> - stm-chans-3.0.0.4 (lib:stm-chans) (requires download & build)</div><div class=""> - easy-file-0.2.2 (lib:easy-file) (requires download & build)</div><div class=""> - auto-update-0.1.6 (lib) (requires download & build)</div><div class=""> - utf8-string-1.0.2 (lib) (requires download & build)</div><div class=""> - tagged-0.8.6.1 (lib) (requires build)</div><div class=""> - th-abstraction-0.4.2.0 (lib) (requires build)</div><div class=""> - transformers-compat-0.6.6 (lib) (requires build)</div><div class=""> - zlib-0.6.2.3 (lib) (requires download & build)</div><div class=""> - blaze-markup-0.8.2.8 (lib) (requires download & build)</div><div class=""> - base-compat-batteries-0.11.2 (lib) (requires build)</div><div class=""> - cookie-0.4.5 (lib) (requires download & build)</div><div class=""> - postgresql-libpq-0.9.4.3 (lib:postgresql-libpq) (requires download & build)</div><div class=""> - network-3.1.2.2 (lib:network) (requires download & build)</div><div class=""> - time-compat-1.9.6 (lib) (requires build)</div><div class=""> - async-2.2.3 (lib) (requires build)</div><div class=""> - unordered-containers-0.2.14.0 (lib) (requires build)</div><div class=""> - data-fix-0.3.1 (lib) (requires build)</div><div class=""> - case-insensitive-1.2.1.0 (lib) (requires download & build)</div><div class=""> - old-time-1.1.0.3 (lib:old-time) (requires download & build)</div><div class=""> - vector-0.12.3.0 (lib) (requires build)</div><div class=""> - scientific-0.3.7.0 (lib) (requires build)</div><div class=""> - resourcet-1.2.4.2 (lib) (requires download & build)</div><div class=""> - random-1.2.0 (lib) (requires build)</div><div class=""> - string-conversions-0.4.0.1 (lib) (requires download & build)</div><div class=""> - distributive-0.6.2.1 (lib) (requires build)</div><div class=""> - th-lift-0.8.2 (lib) (requires download & build)</div><div class=""> - transformers-base-0.4.5.2 (lib) (requires download & build)</div><div class=""> - blaze-html-0.9.1.2 (lib) (requires download & build)</div><div class=""> - typed-process-0.2.6.0 (lib) (requires download & build)</div><div class=""> - unliftio-0.2.18 (lib) (requires download & build)</div><div class=""> - http-types-0.12.3 (lib) (requires download & build)</div><div class=""> - unix-time-0.4.7 (lib:unix-time) (requires download & build)</div><div class=""> - vector-algorithms-0.8.0.4 (lib) (requires build)</div><div class=""> - attoparsec-0.14.1 (lib) (requires build)</div><div class=""> - streaming-commons-0.2.2.1 (lib) (requires download & build)</div><div class=""> - uuid-types-1.0.5 (lib) (requires build)</div><div class=""> - comonad-5.0.8 (lib) (requires build)</div><div class=""> - th-lift-instances-0.1.18 (lib) (requires download & build)</div><div class=""> - monad-control-1.0.2.3 (lib:monad-control) (requires download & build)</div><div class=""> - fast-logger-3.0.5 (lib) (requires download & build)</div><div class=""> - mono-traversable-1.0.15.1 (lib) (requires download & build)</div><div class=""> - attoparsec-iso8601-1.0.2.0 (lib) (requires download & build)</div><div class=""> - bifunctors-5.5.11 (lib) (requires build)</div><div class=""> - resource-pool-0.2.3.2 (lib) (requires download & build)</div><div class=""> - lifted-base-0.2.3.12 (lib) (requires download & build)</div><div class=""> - conduit-1.3.4.1 (lib) (requires download & build)</div><div class=""> - http-api-data-0.4.3 (lib) (requires download & build)</div><div class=""> - assoc-1.0.2 (lib) (requires build)</div><div class=""> - conduit-extra-1.3.5 (lib) (requires download & build)</div><div class=""> - these-1.1.1.1 (lib) (requires build)</div><div class=""> - monad-logger-0.3.36 (lib) (requires download & build)</div><div class=""> - strict-0.4.0.1 (lib) (requires build)</div><div class=""> - aeson-1.5.6.0 (lib) (requires build)</div><div class=""> - postgresql-simple-0.6.4 (lib) (requires download & build)</div><div class=""> - persistent-2.13.1.1 (lib) (requires download & build)</div><div class=""> - persistent-postgresql-2.13.0.3 (lib) (requires download & build)</div><div class="">Downloading  old-locale-1.0.0.7</div><div class="">Starting     base-orphans-0.8.4 (lib)</div><div class="">Starting     data-default-class-0.1.2.0 (all, legacy fallback)</div><div class="">Starting     dlist-1.0 (lib)</div><div class="">Starting     Only-0.1 (lib)</div><div class="">Starting     base-compat-0.11.2 (lib)</div><div class="">Building     dlist-1.0 (lib)</div><div class="">Building     data-default-class-0.1.2.0 (all, legacy fallback)</div><div class="">Building     base-compat-0.11.2 (lib)</div><div class="">Building     base-orphans-0.8.4 (lib)</div><div class="">Building     Only-0.1 (lib)</div><div class="">Downloaded   old-locale-1.0.0.7</div><div class="">Downloading  old-time-1.1.0.3</div><div class="">Installing   data-default-class-0.1.2.0 (all, legacy fallback)</div><div class="">Installing   Only-0.1 (lib)</div><div class="">Completed    data-default-class-0.1.2.0 (all, legacy fallback)</div><div class="">Starting     hsc2hs-0.68.7 (exe:hsc2hs)</div><div class="">Downloaded   old-time-1.1.0.3</div><div class="">Downloading  monad-loops-0.4.3</div><div class="">Completed    Only-0.1 (lib)</div><div class="">Starting     hashable-1.3.2.0 (lib)</div><div class="">Downloaded   monad-loops-0.4.3</div><div class="">Downloading  split-0.2.3.4</div><div class="">Building     hsc2hs-0.68.7 (exe:hsc2hs)</div><div class="">Building     hashable-1.3.2.0 (lib)</div><div class="">Downloaded   split-0.2.3.4</div><div class="">Downloading  auto-update-0.1.6</div><div class="">Downloaded   auto-update-0.1.6</div><div class="">Downloading  unliftio-core-0.2.0.1</div><div class="">Downloaded   unliftio-core-0.2.0.1</div><div class="">Downloading  base64-bytestring-1.2.0.1</div><div class="">Installing   dlist-1.0 (lib)</div><div class="">Completed    dlist-1.0 (lib)</div><div class="">Starting     old-locale-1.0.0.7 (lib)</div><div class="">Downloaded   base64-bytestring-1.2.0.1</div><div class="">Downloading  utf8-string-1.0.2</div><div class="">Starting     base64-bytestring-1.2.0.1 (lib)</div><div class="">Building     old-locale-1.0.0.7 (lib)</div><div class="">Downloaded   utf8-string-1.0.2</div><div class="">Downloading  zlib-0.6.2.3</div><div class="">Building     base64-bytestring-1.2.0.1 (lib)</div><div class="">Installing   base-orphans-0.8.4 (lib)</div><div class="">Downloaded   zlib-0.6.2.3</div><div class="">Downloading  bytestring-builder-0.10.8.2.0</div><div class="">Completed    base-orphans-0.8.4 (lib)</div><div class="">Installing   old-locale-1.0.0.7 (lib)</div><div class="">Downloaded   bytestring-builder-0.10.8.2.0</div><div class="">Downloading  lift-type-0.1.0.1</div><div class="">Starting     bytestring-builder-0.10.8.2.0 (lib)</div><div class="">Installing   hashable-1.3.2.0 (lib)</div><div class="">Completed    old-locale-1.0.0.7 (lib)</div><div class="">Starting     monad-loops-0.4.3 (lib)</div><div class="">Completed    hashable-1.3.2.0 (lib)</div><div class="">Starting     indexed-traversable-0.1.1 (lib)</div><div class="">Downloaded   lift-type-0.1.0.1</div><div class="">Downloading  th-lift-0.8.2</div><div class="">Building     bytestring-builder-0.10.8.2.0 (lib)</div><div class="">Starting     lift-type-0.1.0.1 (lib)</div><div class="">Installing   bytestring-builder-0.10.8.2.0 (lib)</div><div class="">Building     monad-loops-0.4.3 (lib)</div><div class="">Completed    bytestring-builder-0.10.8.2.0 (lib)</div><div class="">Starting     unliftio-core-0.2.0.1 (lib)</div><div class="">Building     indexed-traversable-0.1.1 (lib)</div><div class="">Downloaded   th-lift-0.8.2</div><div class="">Downloading  silently-1.2.5.1</div><div class="">Building     lift-type-0.1.0.1 (lib)</div><div class="">Installing   base64-bytestring-1.2.0.1 (lib)</div><div class="">Building     unliftio-core-0.2.0.1 (lib)</div><div class="">Completed    base64-bytestring-1.2.0.1 (lib)</div><div class="">Starting     integer-logarithms-1.0.3.1 (lib)</div><div class="">Downloaded   silently-1.2.5.1</div><div class="">Downloading  unix-compat-0.5.3</div><div class="">Installing   lift-type-0.1.0.1 (lib)</div><div class="">Completed    lift-type-0.1.0.1 (lib)</div><div class="">Downloaded   unix-compat-0.5.3</div><div class="">Downloading  network-3.1.2.2</div><div class="">Building     integer-logarithms-1.0.3.1 (lib)</div><div class="">Starting     unix-compat-0.5.3 (lib)</div><div class="">Installing   unliftio-core-0.2.0.1 (lib)</div><div class="">Completed    unliftio-core-0.2.0.1 (lib)</div><div class="">Starting     primitive-0.7.1.0 (lib)</div><div class="">Downloaded   network-3.1.2.2</div><div class="">Downloading  unix-time-0.4.7</div><div class="">Building     unix-compat-0.5.3 (lib)</div><div class="">Installing   monad-loops-0.4.3 (lib)</div><div class="">Completed    monad-loops-0.4.3 (lib)</div><div class="">Building     primitive-0.7.1.0 (lib)</div><div class="">Downloaded   unix-time-0.4.7</div><div class="">Downloading  easy-file-0.2.2</div><div class="">Downloaded   easy-file-0.2.2</div><div class="">Downloading  resourcet-1.2.4.2</div><div class="">Downloaded   resourcet-1.2.4.2</div><div class="">Downloading  transformers-base-0.4.5.2</div><div class="">Installing   integer-logarithms-1.0.3.1 (lib)</div><div class="">Completed    integer-logarithms-1.0.3.1 (lib)</div><div class="">Starting     silently-1.2.5.1 (lib)</div><div class="">Downloaded   transformers-base-0.4.5.2</div><div class="">Downloading  monad-control-1.0.2.3</div><div class="">Installing   unix-compat-0.5.3 (lib)</div><div class="">Building     silently-1.2.5.1 (lib)</div><div class="">Completed    unix-compat-0.5.3 (lib)</div><div class="">Starting     split-0.2.3.4 (lib)</div><div class="">Downloaded   monad-control-1.0.2.3</div><div class="">Downloading  lifted-base-0.2.3.12</div><div class="">Downloaded   lifted-base-0.2.3.12</div><div class="">Downloading  blaze-builder-0.4.2.1</div><div class="">Installing   silently-1.2.5.1 (lib)</div><div class="">Building     split-0.2.3.4 (lib)</div><div class="">Completed    silently-1.2.5.1 (lib)</div><div class="">Starting     splitmix-0.1.0.3 (lib)</div><div class="">Installing   hsc2hs-0.68.7 (exe:hsc2hs)</div><div class="">Downloaded   blaze-builder-0.4.2.1</div><div class="">Downloading  blaze-markup-0.8.2.8</div><div class="">Completed    hsc2hs-0.68.7 (exe:hsc2hs)</div><div class="">Starting     blaze-builder-0.4.2.1 (lib)</div><div class="">Building     splitmix-0.1.0.3 (lib)</div><div class="">Downloaded   blaze-markup-0.8.2.8</div><div class="">Downloading  blaze-html-0.9.1.2</div><div class="">Installing   indexed-traversable-0.1.1 (lib)</div><div class="">Building     blaze-builder-0.4.2.1 (lib)</div><div class="">Completed    indexed-traversable-0.1.1 (lib)</div><div class="">Starting     easy-file-0.2.2 (all, legacy fallback)</div><div class="">Downloaded   blaze-html-0.9.1.2</div><div class="">Downloading  cookie-0.4.5</div><div class="">Installing   split-0.2.3.4 (lib)</div><div class="">Completed    split-0.2.3.4 (lib)</div><div class="">Starting     auto-update-0.1.6 (lib)</div><div class="">Building     easy-file-0.2.2 (all, legacy fallback)</div><div class="">Downloaded   cookie-0.4.5</div><div class="">Downloading  fast-logger-3.0.5</div><div class="">Building     auto-update-0.1.6 (lib)</div><div class="">Downloaded   fast-logger-3.0.5</div><div class="">Downloading  case-insensitive-1.2.1.0</div><div class="">Downloaded   case-insensitive-1.2.1.0</div><div class="">Downloading  resource-pool-0.2.3.2</div><div class="">Installing   splitmix-0.1.0.3 (lib)</div><div class="">Installing   base-compat-0.11.2 (lib)</div><div class="">Completed    splitmix-0.1.0.3 (lib)</div><div class="">Starting     utf8-string-1.0.2 (lib)</div><div class="">Completed    base-compat-0.11.2 (lib)</div><div class="">Starting     tagged-0.8.6.1 (lib)</div><div class="">Installing   easy-file-0.2.2 (all, legacy fallback)</div><div class="">Downloaded   resource-pool-0.2.3.2</div><div class="">Downloading  unliftio-0.2.18</div><div class="">Completed    easy-file-0.2.2 (all, legacy fallback)</div><div class="">Starting     th-abstraction-0.4.2.0 (lib)</div><div class="">Installing   auto-update-0.1.6 (lib)</div><div class="">Building     utf8-string-1.0.2 (lib)</div><div class="">Completed    auto-update-0.1.6 (lib)</div><div class="">Starting     transformers-compat-0.6.6 (lib)</div><div class="">Building     tagged-0.8.6.1 (lib)</div><div class="">Downloaded   unliftio-0.2.18</div><div class="">Downloading  typed-process-0.2.6.0</div><div class="">Building     th-abstraction-0.4.2.0 (lib)</div><div class="">Downloaded   typed-process-0.2.6.0</div><div class="">Downloading  http-types-0.12.3</div><div class="">Building     transformers-compat-0.6.6 (lib)</div><div class="">Downloaded   http-types-0.12.3</div><div class="">Downloading  mono-traversable-1.0.15.1</div><div class="">Downloaded   mono-traversable-1.0.15.1</div><div class="">Downloading  conduit-1.3.4.1</div><div class="">Downloaded   conduit-1.3.4.1</div><div class="">Downloading  path-pieces-0.2.1</div><div class="">Downloaded   path-pieces-0.2.1</div><div class="">Downloading  streaming-commons-0.2.2.1</div><div class="">Starting     path-pieces-0.2.1 (lib)</div><div class="">Installing   blaze-builder-0.4.2.1 (lib)</div><div class="">Downloaded   streaming-commons-0.2.2.1</div><div class="">Downloading  string-conversions-0.4.0.1</div><div class="">Completed    blaze-builder-0.4.2.1 (lib)</div><div class="">Installing   tagged-0.8.6.1 (lib)</div><div class="">Starting     zlib-0.6.2.3 (lib)</div><div class="">Completed    tagged-0.8.6.1 (lib)</div><div class="">Starting     cookie-0.4.5 (lib)</div><div class="">Building     path-pieces-0.2.1 (lib)</div><div class="">Downloaded   string-conversions-0.4.0.1</div><div class="">Downloading  th-lift-instances-0.1.18</div><div class="">Downloaded   th-lift-instances-0.1.18</div><div class="">Downloading  conduit-extra-1.3.5</div><div class="">Building     zlib-0.6.2.3 (lib)</div><div class="">Building     cookie-0.4.5 (lib)</div><div class="">Installing   transformers-compat-0.6.6 (lib)</div><div class="">Downloaded   conduit-extra-1.3.5</div><div class="">Downloading  attoparsec-iso8601-1.0.2.0</div><div class="">Completed    transformers-compat-0.6.6 (lib)</div><div class="">Starting     old-time-1.1.0.3 (all, legacy fallback)</div><div class="">Downloaded   attoparsec-iso8601-1.0.2.0</div><div class="">Downloading  http-api-data-0.4.3</div><div class="">Downloaded   http-api-data-0.4.3</div><div class="">Downloading  postgresql-libpq-0.9.4.3</div><div class="">Downloaded   postgresql-libpq-0.9.4.3</div><div class="">Downloading  postgresql-simple-0.6.4</div><div class="">Installing   path-pieces-0.2.1 (lib)</div><div class="">Completed    path-pieces-0.2.1 (lib)</div><div class="">Starting     time-compat-1.9.6 (lib)</div><div class="">Downloaded   postgresql-simple-0.6.4</div><div class="">Downloading  stm-chans-3.0.0.4</div><div class="">Installing   cookie-0.4.5 (lib)</div><div class="">Downloaded   stm-chans-3.0.0.4</div><div class="">Downloading  monad-logger-0.3.36</div><div class="">Starting     stm-chans-3.0.0.4 (all, legacy fallback)</div><div class="">Installing   utf8-string-1.0.2 (lib)</div><div class="">Completed    cookie-0.4.5 (lib)</div><div class="">Starting     async-2.2.3 (lib)</div><div class="">Building     time-compat-1.9.6 (lib)</div><div class="">Completed    utf8-string-1.0.2 (lib)</div><div class="">Starting     unordered-containers-0.2.14.0 (lib)</div><div class="">Downloaded   monad-logger-0.3.36</div><div class="">Downloading  persistent-2.13.1.1</div><div class="">Downloaded   persistent-2.13.1.1</div><div class="">Downloading  persistent-postgresql-2.13.0.3</div><div class="">Building     async-2.2.3 (lib)</div><div class="">Building     unordered-containers-0.2.14.0 (lib)</div><div class="">Downloaded   persistent-postgresql-2.13.0.3</div><div class="">Building     old-time-1.1.0.3 (all, legacy fallback)</div><div class="">Installing   async-2.2.3 (lib)</div><div class="">Installing   primitive-0.7.1.0 (lib)</div><div class="">Completed    async-2.2.3 (lib)</div><div class="">Starting     data-fix-0.3.1 (lib)</div><div class="">Completed    primitive-0.7.1.0 (lib)</div><div class="">Starting     case-insensitive-1.2.1.0 (lib)</div><div class="">Building     data-fix-0.3.1 (lib)</div><div class="">Building     case-insensitive-1.2.1.0 (lib)</div><div class="">Building     stm-chans-3.0.0.4 (all, legacy fallback)</div><div class="">Installing   th-abstraction-0.4.2.0 (lib)</div><div class="">Completed    th-abstraction-0.4.2.0 (lib)</div><div class="">Starting     postgresql-libpq-0.9.4.3 (all, legacy fallback)</div><div class="">Installing   case-insensitive-1.2.1.0 (lib)</div><div class="">Installing   data-fix-0.3.1 (lib)</div><div class="">Completed    case-insensitive-1.2.1.0 (lib)</div><div class="">Starting     network-3.1.2.2 (all, legacy fallback)</div><div class="">Completed    data-fix-0.3.1 (lib)</div><div class="">Starting     random-1.2.0 (lib)</div><div class="">Installing   zlib-0.6.2.3 (lib)</div><div class="">Completed    zlib-0.6.2.3 (lib)</div><div class="">Starting     base-compat-batteries-0.11.2 (lib)</div><div class="">Building     random-1.2.0 (lib)</div><div class="">Building     base-compat-batteries-0.11.2 (lib)</div><div class="">Installing   old-time-1.1.0.3 (all, legacy fallback)</div><div class="">Installing   time-compat-1.9.6 (lib)</div><div class="">Installing   stm-chans-3.0.0.4 (all, legacy fallback)</div><div class="">Completed    old-time-1.1.0.3 (all, legacy fallback)</div><div class="">Starting     blaze-markup-0.8.2.8 (lib)</div><div class="">Completed    time-compat-1.9.6 (lib)</div><div class="">Starting     distributive-0.6.2.1 (lib)</div><div class="">Completed    stm-chans-3.0.0.4 (all, legacy fallback)</div><div class="">Building     blaze-markup-0.8.2.8 (lib)</div><div class="">Starting     transformers-base-0.4.5.2 (lib)</div><div class="">Building     distributive-0.6.2.1 (lib)</div><div class="">Building     transformers-base-0.4.5.2 (lib)</div><div class="">Building     postgresql-libpq-0.9.4.3 (all, legacy fallback)</div><div class="">Installing   distributive-0.6.2.1 (lib)</div><div class="">Installing   transformers-base-0.4.5.2 (lib)</div><div class="">Building     network-3.1.2.2 (all, legacy fallback)</div><div class="">Completed    distributive-0.6.2.1 (lib)</div><div class="">Starting     string-conversions-0.4.0.1 (lib)</div><div class="">Completed    transformers-base-0.4.5.2 (lib)</div><div class="">Starting     typed-process-0.2.6.0 (lib)</div><div class="">Building     string-conversions-0.4.0.1 (lib)</div><div class="">Building     typed-process-0.2.6.0 (lib)</div><div class="">Installing   string-conversions-0.4.0.1 (lib)</div><div class="">Completed    string-conversions-0.4.0.1 (lib)</div><div class="">Starting     unliftio-0.2.18 (lib)</div><div class="">Building     unliftio-0.2.18 (lib)</div><div class="">Installing   typed-process-0.2.6.0 (lib)</div><div class="">Completed    typed-process-0.2.6.0 (lib)</div><div class="">Starting     vector-0.12.3.0 (lib)</div><div class="">Building     vector-0.12.3.0 (lib)</div><div class="">Installing   postgresql-libpq-0.9.4.3 (all, legacy fallback)</div><div class="">Completed    postgresql-libpq-0.9.4.3 (all, legacy fallback)</div><div class="">Starting     scientific-0.3.7.0 (lib)</div><div class="">Building     scientific-0.3.7.0 (lib)</div><div class="">Installing   blaze-markup-0.8.2.8 (lib)</div><div class="">Completed    blaze-markup-0.8.2.8 (lib)</div><div class="">Starting     resourcet-1.2.4.2 (lib)</div><div class="">Installing   random-1.2.0 (lib)</div><div class="">Building     resourcet-1.2.4.2 (lib)</div><div class="">Completed    random-1.2.0 (lib)</div><div class="">Starting     th-lift-0.8.2 (lib)</div><div class="">Building     th-lift-0.8.2 (lib)</div><div class="">Installing   unordered-containers-0.2.14.0 (lib)</div><div class="">Completed    unordered-containers-0.2.14.0 (lib)</div><div class="">Starting     http-types-0.12.3 (lib)</div><div class="">Building     http-types-0.12.3 (lib)</div><div class="">Installing   th-lift-0.8.2 (lib)</div><div class="">Completed    th-lift-0.8.2 (lib)</div><div class="">Starting     unix-time-0.4.7 (all, legacy fallback)</div><div class="">Installing   base-compat-batteries-0.11.2 (lib)</div><div class="">Installing   resourcet-1.2.4.2 (lib)</div><div class="">Completed    base-compat-batteries-0.11.2 (lib)</div><div class="">Starting     comonad-5.0.8 (lib)</div><div class="">Completed    resourcet-1.2.4.2 (lib)</div><div class="">Starting     monad-control-1.0.2.3 (all, legacy fallback)</div><div class="">Building     comonad-5.0.8 (lib)</div><div class="">Building     monad-control-1.0.2.3 (all, legacy fallback)</div><div class="">Installing   unliftio-0.2.18 (lib)</div><div class="">Installing   monad-control-1.0.2.3 (all, legacy fallback)</div><div class="">Completed    unliftio-0.2.18 (lib)</div><div class="">Starting     blaze-html-0.9.1.2 (lib)</div><div class="">Building     unix-time-0.4.7 (all, legacy fallback)</div><div class="">Completed    monad-control-1.0.2.3 (all, legacy fallback)</div><div class="">Starting     uuid-types-1.0.5 (lib)</div><div class="">Building     blaze-html-0.9.1.2 (lib)</div><div class="">Building     uuid-types-1.0.5 (lib)</div><div class="">Installing   scientific-0.3.7.0 (lib)</div><div class="">Completed    scientific-0.3.7.0 (lib)</div><div class="">Starting     lifted-base-0.2.3.12 (lib)</div><div class="">Building     lifted-base-0.2.3.12 (lib)</div><div class="">Installing   network-3.1.2.2 (all, legacy fallback)</div><div class="">Completed    network-3.1.2.2 (all, legacy fallback)</div><div class="">Installing   http-types-0.12.3 (lib)</div><div class="">Installing   unix-time-0.4.7 (all, legacy fallback)</div><div class="">Starting     attoparsec-0.14.1 (lib)</div><div class="">Completed    http-types-0.12.3 (lib)</div><div class="">Starting     streaming-commons-0.2.2.1 (lib)</div><div class="">Completed    unix-time-0.4.7 (all, legacy fallback)</div><div class="">Starting     fast-logger-3.0.5 (lib)</div><div class="">Building     attoparsec-0.14.1 (lib)</div><div class="">Building     streaming-commons-0.2.2.1 (lib)</div><div class="">Building     fast-logger-3.0.5 (lib)</div><div class="">Installing   comonad-5.0.8 (lib)</div><div class="">Completed    comonad-5.0.8 (lib)</div><div class="">Starting     bifunctors-5.5.11 (lib)</div><div class="">Installing   lifted-base-0.2.3.12 (lib)</div><div class="">Completed    lifted-base-0.2.3.12 (lib)</div><div class="">Installing   uuid-types-1.0.5 (lib)</div><div class="">Completed    uuid-types-1.0.5 (lib)</div><div class="">Building     bifunctors-5.5.11 (lib)</div><div class="">Installing   fast-logger-3.0.5 (lib)</div><div class="">Completed    fast-logger-3.0.5 (lib)</div><div class="">Installing   streaming-commons-0.2.2.1 (lib)</div><div class="">Completed    streaming-commons-0.2.2.1 (lib)</div><div class="">Installing   bifunctors-5.5.11 (lib)</div><div class="">Completed    bifunctors-5.5.11 (lib)</div><div class="">Starting     assoc-1.0.2 (lib)</div><div class="">Building     assoc-1.0.2 (lib)</div><div class="">Installing   assoc-1.0.2 (lib)</div><div class="">Completed    assoc-1.0.2 (lib)</div><div class="">Starting     these-1.1.1.1 (lib)</div><div class="">Building     these-1.1.1.1 (lib)</div><div class="">Installing   these-1.1.1.1 (lib)</div><div class="">Completed    these-1.1.1.1 (lib)</div><div class="">Starting     strict-0.4.0.1 (lib)</div><div class="">Building     strict-0.4.0.1 (lib)</div><div class="">Installing   blaze-html-0.9.1.2 (lib)</div><div class="">Completed    blaze-html-0.9.1.2 (lib)</div><div class="">Installing   strict-0.4.0.1 (lib)</div><div class="">Completed    strict-0.4.0.1 (lib)</div><div class="">Installing   attoparsec-0.14.1 (lib)</div><div class="">Completed    attoparsec-0.14.1 (lib)</div><div class="">Starting     attoparsec-iso8601-1.0.2.0 (lib)</div><div class="">Building     attoparsec-iso8601-1.0.2.0 (lib)</div><div class="">Installing   attoparsec-iso8601-1.0.2.0 (lib)</div><div class="">Completed    attoparsec-iso8601-1.0.2.0 (lib)</div><div class="">Starting     http-api-data-0.4.3 (lib)</div><div class="">Building     http-api-data-0.4.3 (lib)</div><div class="">Installing   http-api-data-0.4.3 (lib)</div><div class="">Completed    http-api-data-0.4.3 (lib)</div><div class="">Installing   vector-0.12.3.0 (lib)</div><div class="">Completed    vector-0.12.3.0 (lib)</div><div class="">Starting     th-lift-instances-0.1.18 (lib)</div><div class="">Starting     resource-pool-0.2.3.2 (lib)</div><div class="">Starting     vector-algorithms-0.8.0.4 (lib)</div><div class="">Starting     aeson-1.5.6.0 (lib)</div><div class="">Building     vector-algorithms-0.8.0.4 (lib)</div><div class="">Building     resource-pool-0.2.3.2 (lib)</div><div class="">Building     th-lift-instances-0.1.18 (lib)</div><div class="">Building     aeson-1.5.6.0 (lib)</div><div class="">Installing   th-lift-instances-0.1.18 (lib)</div><div class="">Completed    th-lift-instances-0.1.18 (lib)</div><div class="">Installing   resource-pool-0.2.3.2 (lib)</div><div class="">Completed    resource-pool-0.2.3.2 (lib)</div><div class="">Installing   vector-algorithms-0.8.0.4 (lib)</div><div class="">Completed    vector-algorithms-0.8.0.4 (lib)</div><div class="">Starting     mono-traversable-1.0.15.1 (lib)</div><div class="">Building     mono-traversable-1.0.15.1 (lib)</div><div class="">Installing   mono-traversable-1.0.15.1 (lib)</div><div class="">Completed    mono-traversable-1.0.15.1 (lib)</div><div class="">Starting     conduit-1.3.4.1 (lib)</div><div class="">Building     conduit-1.3.4.1 (lib)</div><div class="">Installing   conduit-1.3.4.1 (lib)</div><div class="">Completed    conduit-1.3.4.1 (lib)</div><div class="">Starting     conduit-extra-1.3.5 (lib)</div><div class="">Building     conduit-extra-1.3.5 (lib)</div><div class="">Installing   conduit-extra-1.3.5 (lib)</div><div class="">Completed    conduit-extra-1.3.5 (lib)</div><div class="">Starting     monad-logger-0.3.36 (lib)</div><div class="">Building     monad-logger-0.3.36 (lib)</div><div class="">Installing   monad-logger-0.3.36 (lib)</div><div class="">Completed    monad-logger-0.3.36 (lib)</div><div class="">Installing   aeson-1.5.6.0 (lib)</div><div class="">Completed    aeson-1.5.6.0 (lib)</div><div class="">Starting     postgresql-simple-0.6.4 (lib)</div><div class="">Starting     persistent-2.13.1.1 (lib)</div><div class="">Building     persistent-2.13.1.1 (lib)</div><div class="">Building     postgresql-simple-0.6.4 (lib)</div><div class="">Installing   postgresql-simple-0.6.4 (lib)</div><div class="">Completed    postgresql-simple-0.6.4 (lib)</div><div class="">Installing   persistent-2.13.1.1 (lib)</div><div class="">Completed    persistent-2.13.1.1 (lib)</div><div class="">Starting     persistent-postgresql-2.13.0.3 (lib)</div><div class="">Building     persistent-postgresql-2.13.0.3 (lib)</div><div class="">Installing   persistent-postgresql-2.13.0.3 (lib)</div><div class="">Completed    persistent-postgresql-2.13.0.3 (lib)</div><div class="">Warning:</div><div class="">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</div><div class="">@ WARNING: Installation might not be completed as desired! @</div><div class="">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</div><div class="">The command "cabal install [TARGETS]" doesn't expose libraries.</div><div class="">* You might have wanted to add them as dependencies to your package. In this</div><div class="">case add "persistent-postgresql" to the build-depends field(s) of your</div><div class="">package's .cabal file.</div><div class="">* You might have wanted to add them to a GHC environment. In this case use</div><div class="">"cabal install --lib persistent-postgresql". The "--lib" flag is provisional:</div><div class="">see <a href="https://github.com/haskell/cabal/issues/6481" class="">https://github.com/haskell/cabal/issues/6481</a> for more information.</div><div class="">bmaxa@Branimirs-Air ~ % cabal install --lib persistent-postgresql</div><div class="">Warning: The package list for '<a href="http://hackage.haskell.org" class="">hackage.haskell.org</a>' is 69 days old.</div><div class="">Run 'cabal update' to get the latest list of available packages.</div><div class="">Warning: The package list for '<a href="http://hackage.haskell.org" class="">hackage.haskell.org</a>' is 69 days old.</div><div class="">Run 'cabal update' to get the latest list of available packages.</div><div class="">Resolving dependencies...</div><div class="">Up to date</div><div class="">bmaxa@Branimirs-Air ~ %</div><div class=""><br class=""></div><div class="">Greetings, Branimir.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 21.09.2021., at 22:59, Geraldus <<a href="mailto:heraldhoi@gmail.com" class="">heraldhoi@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thank you for your response. <div class=""><br class=""><div class="">I use 13.4:</div><div class=""><br class=""></div><div class="">```</div><div class=""><font face="monospace" class="">arthurfayzrakhmanov@MacBook-Pro-Arthur ~/L/h/pg001> brew search postgres<br class="">==> Formulae<br class="">check_postgres      postgresql@11       postgresql@9.5      qt-postgresql<br class="">postgresql ✔        postgresql@12       postgresql@9.6      postgis<br class="">postgresql@10       postgresql@9.4      postgrest<br class="">==> Casks<br class="">navicat-for-postgresql                   postgrespreferencepane<br class="">postgres-unofficial                      sqlpro-for-postgres<br class="">arthurfayzrakhmanov@MacBook-Pro-Arthur ~/L/h/pg001> psql --version<br class="">psql (PostgreSQL) 13.4</font><br class=""></div></div><div class="">```</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 22 сент. 2021 г. в 01:55, Branimir Maksimovic <<a href="mailto:branimir.maksimovic@gmail.com" class="">branimir.maksimovic@gmail.com</a>>:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">which version of postgresql you are using?<div class=""><div class="">bmaxa@Branimirs-Air ~ % brew search postgres</div><div class="">==> Formulae</div><div class="">check_postgres              postgresql@10               postgresql@12               postgresql@9.5              postgrest                   postgis</div><div class="">postgresql                  postgresql@11               postgresql@9.4              postgresql@9.6              qt-postgresql</div><div class="">==> Casks</div><div class="">navicat-for-postgresql                     postgres-unofficial                        postgrespreferencepane                     sqlpro-for-postgres</div><div class=""><br class=""></div><div class="">?</div><div class=""><br class=""></div><div class="">Greetings, Branimir.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On 21.09.2021., at 22:47, Geraldus <<a href="mailto:heraldhoi@gmail.com" target="_blank" class="">heraldhoi@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi, dear Cafe!<div class=""><br class=""></div><div class="">I'm having trouble compiling an application which uses PostgreSQL on a macbook with an M1 chip.  </div><div class=""><br class=""></div><div class="">Postgre itself seems to work fine.  It is installed via `homebrew` (if I'm not mistaken this is the only way on Mac to get pg_config, which is required for `persistent-postgresql`).  The error message is following: </div><div class=""><br class=""></div><div class="">```</div><div class=""><font face="monospace" class="">persistent-postgresql> <command line>: dlopen(/Users/arthurfayzrakhmanov/.stack/snapshots/x86_64-osx/36432054bd8d13c1da6134758733286b536c65d34222dcf10ecb29bd437c8117/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSpostgresql-libpq-0.9.4.3-GrxZELytXmSAOH6lAioiw9-ghc8.10.7.dylib, 5): <b class="">Symbol not found: _PQclear</b><br class="">persistent-postgresql>   Referenced from: /Users/arthurfayzrakhmanov/.stack/snapshots/x86_64-osx/36432054bd8d13c1da6134758733286b536c65d34222dcf10ecb29bd437c8117/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSpostgresql-libpq-0.9.4.3-GrxZELytXmSAOH6lAioiw9-ghc8.10.7.dylib<br class="">persistent-postgresql>   <b class="">Expected in: flat namespace</b><br class="">persistent-postgresql>  in /Users/arthurfayzrakhmanov/.stack/snapshots/x86_64-osx/36432054bd8d13c1da6134758733286b536c65d34222dcf10ecb29bd437c8117/8.10.7/lib/x86_64-osx-ghc-8.10.7/libHSpostgresql-libpq-0.9.4.3-GrxZELytXmSAOH6lAioiw9-ghc8.10.7.dylib</font><br class=""></div><div class="">```</div><div class=""><br class=""></div><div class="">The minimal setup to reproduce is following: </div><div class=""><br class=""></div><div class="">```</div><div class=""><font face="monospace" class="">dependencies:<br class="">- base >= 4.7 && < 5<br class="">- persistent >= 2.13.1.2 && < 3<br class="">- persistent-postgresql >= 2.13.1.0 && < 3</font><br class=""></div><div class="">```</div><div class=""><br class=""></div><div class="">Digging around gave me just a few clues.  It seems that `libpq` I have is compiled some other way it expected, and missing some symbols required `persistent-postgresql` to work.  I believe this is not a bug, rather that a local configuration issue.  </div><div class=""><br class=""></div><div class="">Does anyone know which is right setup to build persistent-postgresql on Macs with M1 chip? Thanks in advance.</div><div class=""><br class=""></div><div class="">Sincerely.  </div><div class="">Arthur.</div><div class=""><br class=""></div><div class="">P.S. Please apologize if this is not a right place to ask such questions.  Asked already in Yesod Google Groups and Stack Overflow.  But didn't received any feedback.</div></div>
_______________________________________________<br class="">Haskell-Cafe mailing list<br class="">To (un)subscribe, modify options or view archives go to:<br class=""><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" target="_blank" class="">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br class="">Only members subscribed via the mailman list are allowed to post.</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>