From: | cecile rougnaux <cecile_rougnaux(at)hotmail(dot)com> |
---|---|
To: | "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Error dydl : image not found when trying to install pg on Catalina |
Date: | 2022-04-17 11:28:42 |
Message-ID: | PA4PR10MB5729586DD41E303ED321DDA498F09@PA4PR10MB5729.EURPRD10.PROD.OUTLOOK.COM |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I upgraded my system to Catalina 10.15.7 and now I get an error with dyld : image not found when trying to install postgresql :
➜ ~ brew install postgresql
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 6 formulae.
==> Downloading https://ghcr.io/v2/homebrew/core/krb5/manifests/1.19.3
Already downloaded: /Users/rougnaux/Library/Caches/Homebrew/downloads/99d453969cccecf3b539a32dfa27cbdc85c12d0017c92bec5729bea7cf6328a2--krb5-1.19.3.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/krb5/blobs/sha256:e269d5d0c19c6da2521b8ab8a51f5ac1229387b
Already downloaded: /Users/rougnaux/Library/Caches/Homebrew/downloads/0a454bc3adeb2c958c03807c84ff279323ff741e3b8a64aa78603f558e7b4c94--krb5--1.19.3.catalina.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/manifests/14.2_1
Already downloaded: /Users/rougnaux/Library/Caches/Homebrew/downloads/6a491ab32f22a1325da9bceba1f59875f5c43478aa890de97644fb7c1b196e18--postgresql-14.2_1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/blobs/sha256:bb6bf761a60c6aec73f31595e167c2c78
Already downloaded: /Users/rougnaux/Library/Caches/Homebrew/downloads/e3f7b538f0e6cf2f8a966ce5d9de5e4aca2d2da9d0b1905217f5930200ac552f--postgresql--14.2_1.catalina.bottle.tar.gz
==> Installing dependencies for postgresql: krb5
==> Installing postgresql dependency: krb5
==> Pouring krb5--1.19.3.catalina.bottle.tar.gz
🍺 /usr/local/Cellar/krb5/1.19.3: 162 files, 5.2MB
==> Installing postgresql
==> Pouring postgresql--14.2_1.catalina.bottle.tar.gz
==> /usr/local/Cellar/postgresql/14.2_1/bin/initdb --locale=C -E UTF-8 /usr/local/var/postgres
Last 15 lines from /Users/rougnaux/Library/Logs/Homebrew/postgresql/post_install.01.initdb:
2022-04-17 13:10:48 +0200
/usr/local/Cellar/postgresql/14.2_1/bin/initdb
--locale=C
-E
UTF-8
/usr/local/var/postgres
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.70.dylib
Referenced from: /usr/local/Cellar/postgresql/14.2_1/bin/postgres
Reason: image not found
no data was returned by command ""/usr/local/Cellar/postgresql/14.2_1/bin/postgres" -V"
initdb: error: The program "postgres" is needed by initdb but was not found in the
same directory as "/usr/local/Cellar/postgresql/14.2_1/bin/initdb".
Check your installation.
Warning: The post-install step did not complete successfully
You can try again using:
brew postinstall postgresq
How can I fix this ?
Thanks for help!
Cécile
From | Date | Subject | |
---|---|---|---|
Next Message | Perry Smith | 2022-04-17 11:58:57 | Re: Help with large delete |
Previous Message | Ajay Kajla | 2022-04-17 05:30:02 | Facing issues with pgsql upgrade. |