0
我安裝rmagick寶石成捆的一部分,當升級到獅子,我現在看到的錯誤:OS安裝rmagick寶石錯誤
"gcc-4.2 -o conftest -I/Users/home/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/x86_64-darwin10.8.0 -I/Users/home/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1/ruby/backward -I/Users/home/.rvm/rubies/ruby-1.9.3-p0/include/ruby-1.9.1 -I. -I/usr/local/Cellar/imagemagick/6.7.1-1/include/ImageMagick -I/usr/local/Cellar/imagemagick/6.7.1-1/include/ImageMagick -fopenmp conftest.c -L. -L/Users/home/.rvm/rubies/ruby-1.9.3-p0/lib -L/usr/local/Cellar/imagemagick/6.7.1-1/lib -L/usr/X11/lib -L/usr/local/Cellar/imagemagick/6.7.1-1/lib -lMagickCore -llcms -ltiff -lfreetype -ljpeg -L/usr/X11/lib -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread -lltdl -lruby.1.9.1 -lpthread -ldl -lobjc "
ld: library not found for -llcms
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */
我已經升級自制軟件和卸載和重新安裝的ImageMagick無濟於事。
您可以在這裏找到答案: http://stackoverflow.com/questions/4290759/error-installing-rmagick -on-mac-os-x – alexkv 2012-02-14 06:46:16
我已經安裝了自制軟件 – 2012-02-14 10:09:47