# Postgres Woes on OSX with libicui18n.69.dylib

DevFeed: [Postgres Woes on OSX with libicui18n.69.dylib](<https://devfeed.tech/articles/postgres-woes-on-osx-with-libicui18n-69-dylib-28223.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/postgres/2022/04/21/postgres-woes-on-osx-with-libicui18n-69-dylib.html>)

Author: Fuzzygroup

Published: 2022-04-21T13:33:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [postgresql clusters](<https://devfeed.tech/topics/postgresql-clusters.md>), [upgrade](<https://devfeed.tech/topics/upgrade.md>)

Tags: [dependencies](<https://devfeed.tech/tags/dependencies.md>), [errors](<https://devfeed.tech/tags/errors.md>), [homebrew](<https://devfeed.tech/tags/homebrew.md>), [osx](<https://devfeed.tech/tags/osx.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

## AI overview

A troubleshooting account of a PostgreSQL startup failure on macOS caused by a missing libicui18n.69.dylib library. Reinstalling icu4c with Homebrew led to PostgreSQL being upgraded and running locally again.

## Source excerpt

Perhaps it is me but I've found that homebrew seems to give more errors and take longer than it used it. I just got hit with this error: /usr/local/opt/postgresql/bin/postgres -v dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.69.dylib Referenced from: /usr/local/opt/postgresql/bin/postgres Reason: image not found Digging into the OSX postgres log here: tail -n 100 /usr/local/var/log/postgresql.log helped but didn't tell me what to do. An awful lot of googling didn't find me an answer but then I hit on: brew reinstall icu4c That churned for a bit but then declared a decisive victory: 🍺 /usr/local/Cellar/maxima/5.46.0: 2,842 files, 119.1MB ==> Running `brew cleanup maxima`... Removing: /usr/local/Cellar/maxima/5.45.1_4... (2,774 files, 118.4MB) Removing: /Users/sjohnson/Library/Caches/Homebrew/maxima--5.45.1_4... (38.3MB) ==> Upgrading postgresql 13.2_2 -> 14.2_1 ==> 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 ==> Caveats To migrate existing data from a previous major version of PostgreSQL run: brew postgresql-upgrade-database This formula has created a default database cluster with: initdb --locale=C -E UTF-8 /usr/local/var/postgres For more details, read: https://www.postgresql.org/docs/14/app-initdb.html To restart postgresql after an upgrade: brew services restart postgresql Or, if you don't want/need a background service you can just run: /usr/local/opt/postgresql/bin/postgres -D /usr/local/var/postgres ==> Summary 🍺 /usr/local/Cellar/postgresql/14.2_1: 3,305 files, 45.5MB ==> Running `brew cleanup postgresql`... Removing: /usr/local/Cellar/postgresql/13.2_2... (3,218 files, 42.6MB) Removing: /Users/sjohnson/Library/Caches/Homebrew/postgresql--13.2_2... (11.1MB) ==> Checking for dependents of upgraded formulae... ==> No broken dep