Created
February 6, 2011 00:44
-
-
Save just3ws/812975 to your computer and use it in GitHub Desktop.
Unable to install packages with RVM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
just3ws:~ mdh$ uname -a | |
Darwin just3ws.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010; root:xnu-1504.9.26~3/RELEASE_X86_64 x86_64 | |
just3ws:~ mdh$ echo $ARCHFLAGS | |
-arch x86_64 | |
just3ws:~ mdh$ rvm package install zlib | |
Fetching zlib-1.2.5.tar.gz to /Users/mdh/.rvm/archives | |
Extracting zlib-1.2.5.tar.gz to /Users/mdh/.rvm/src | |
Configuring zlib in /Users/mdh/.rvm/src/zlib-1.2.5. | |
Compiling zlib in /Users/mdh/.rvm/src/zlib-1.2.5. | |
Error running '/usr/bin/make ', please read /Users/mdh/.rvm/log/zlib/make.log | |
Installing zlib to /Users/mdh/.rvm/usr | |
Error running '/usr/bin/make install', please read /Users/mdh/.rvm/log/zlib/make.install.log | |
just3ws:~ mdh$ cat /Users/mdh/.rvm/log/zlib/make.install.log | |
[2011-02-05 18:33:12] /usr/bin/make install | |
cp libz.a /Users/mdh/.rvm/usr/lib | |
cp /Users/mdh/.rvm/usr/lib | |
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file | |
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory | |
make: *** [install-libs] Error 64 | |
[2011-02-05 18:41:12] /usr/bin/make install | |
ar rc libz.a adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o | |
ar: libz.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) | |
ar: libz.a: Inappropriate file type or format | |
make: *** [libz.a] Error 1 | |
[2011-02-05 18:42:30] /usr/bin/make install | |
ar rc libz.a adler32.o compress.o crc32.o deflate.o gzclose.o gzlib.o gzread.o gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o | |
ar: libz.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) | |
ar: libz.a: Inappropriate file type or format | |
make: *** [libz.a] Error 1 | |
I didn't pursue the issue trying to get the RVM package to work. Ended up just using Homebrew's libzlib (IIRC).
Same problem for me today too.
Same here
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the same error, did you already find an solution?