Missing "libz.1.dylib" on Mac OS X 13.6.1 (et al) #2285
-
Here's a summary of the build failure I keep hitting:
What I've tried (the past couple of days):
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
I've tried a few other things recommended in this and other discussion boards, such as this — with no improvement:
|
Beta Was this translation helpful? Give feedback.
-
After reading up more on
It seemed to work, but when I went to actually use it in my project, it failed with an error quite similar to the
|
Beta Was this translation helpful? Give feedback.
-
In case it's helpful (and it gives me an idea or two of things to try), here's the output of
|
Beta Was this translation helpful? Give feedback.
-
Note that I'm also trying to get this working via |
Beta Was this translation helpful? Give feedback.
-
@jcburley The fact that you're having trouble with multiple version managers is a clue that something is wrong with your development setup. You mentioned that you uninstalled and reinstalled Homebrew. Yet, I would also check your shell startup files (.zshrc, .zlogin, .zprofile, .bash_profile, .bashrc, .profile, etc) and remove any lines that modify the PATH or that set env vars that you don't understand. Here are the options I recommend:
|
Beta Was this translation helpful? Give feedback.
Hey, thanks. Indeed, once I uninstalled Brew (again), re-installed it, removed the cruft identified by
brew doctor
, and re-installed my usual brew stuff,rbenv install 3.2.2
worked great!Not sure how those old
/lusr/local/lib/libz*
entries got there, but I suspect the non-symlink one looked enough like a real lib to "satisfy" the installers, but not enough like one to the OS when attempts were made to dynamically link to it.So I'm unblocked. Again, thanks!
As far as paying for your product: I was thinking it might indeed be worth it, and would have probably just done it if it was just me as a consultant. But I thought maybe another hour or two of trying things, based on what I was learn…