Closed ghost closed 10 years ago
Please paste your installing command, e.g. brew install mpv --HEAD
By the way, mpv's formula doesn't depend on zlib directly.
$ brew deps --tree -all mpv
mpv
|- :python
|- pkg-config
|- mpv-player/mpv/libass-ct
| |- :git
| |- pkg-config
| |- autoconf
| |- automake
| | |- autoconf
| |- libtool
| |- yasm
| | |- :python
| |- freetype
| | |- libpng
| |- fribidi
|- ffmpeg
| |- pkg-config
| |- texi2html
| |- yasm
| | |- :python
| |- x264
| | |- :git
| | |- yasm
| | | |- :python
| |- faac
| |- lame
| |- xvid
|- mpg123
|- jpeg
|- little-cms2
| |- jpeg
| |- libtiff
| | |- jpeg
|- lua
Also, please confirm existence of libz:
$ ls -l /usr/lib/libz*
lrwxr-xr-x 1 root wheel 16 9 23 2013 /usr/lib/libz.1.1.3.dylib -> libz.1.2.5.dylib*
-rwxr-xr-x 1 root wheel 166K 9 23 2013 /usr/lib/libz.1.2.5.dylib*
lrwxr-xr-x 1 root wheel 16 9 23 2013 /usr/lib/libz.1.dylib -> libz.1.2.5.dylib*
lrwxr-xr-x 1 root wheel 16 9 23 2013 /usr/lib/libz.dylib -> libz.1.2.5.dylib*
I don't know how to confirm/deny the presence of libz via terminal, but manually looking through /usr/lib shows only one file containing "libz": libz.1.2.5.dylib
My installing command(s) were
"brew tap mpv-player/mpv"
"brew install --HEAD mpv-player/mpv/libass-ct"
"brew install mpv"
I had to authorize the overwrite of some stuff during the second step, but it completed sucessfully.
I don't know how to confirm/deny the presence of libz via terminal
You can just run find /usr -name "libz.*"
.
I had to authorize the overwrite of some stuff during the second step
Please tell me more concretely.
/usr/lib/libz.1.1.3.dylib /usr/lib/libz.1.2.5.dylib /usr/lib/libz.1.dylib /usr/lib/libz.dylib /usr/local/lib/libz.a find: /usr/sbin/authserver: Permission denied
I'm afraid that I don't know how to scroll back to find out what I overwrote.
Do you remember whether you installed /usr/local/lib/libz.a
manually or not?
And, if you installed it, did you install with Homebrew?
I only started homebrewing about a week ago. Only other thing I've installed via Homebrew is xdelta3. I do know that my brew doctor shows a ton of unbrewed stuff, including /usr/local/lib/libz.a as an unbrewed static library.
You now only need libz, you also need zlib.h in an include directly (/usr/include/, or wherever else).
mpv depends directly on it, so it should be added to its dependencies.
What is the command for installing libz? I've tried the obvious ones and Google isn't helping.
@utterbull You have to do following things:
brew doctor
zlib.h
as wm4 pointedI (think) i got it working. Had to delete the old zlib file.
I get the following when I brew install mpv
Checking for zlib : no Unable to find development files for zlib.
I brew upgrade'd and brew updated'd, no change.
I have an uncanny feeling that this is a silly question, but Google isn't helping.