Dyld: Library not loaded

Hello guys,

I’ve recently delete a formula and it’s related dependencies recursively (bad idea :frowning: ) and now when i launch the shell I get:

dyld: Library not loaded: /usr/local/opt/pcre/lib/libpcre.1.dylib
Referenced from: /usr/local/bin/zsh
Reason: no suitable image found.  Did find:
/usr/local/opt/pcre/lib/libpcre.1.dylib: stat() failed with errno=20

[Process completed]

And thus cannot properly use the terminal anymore, did anyone know how to circumvent this?

Thank you very much!

UPDATE: Fixed using standard bash and brew doctoring my way out of this, this can be closed/removed, sorry :slight_smile:

yeah but how did you fixed it?

I’d also like to know how you resolved it.