pgmagick
尝试使用 XCode 4.3.1 在 OS X Lion 上构建时,我没有取得太大的成功。
我已经使用以下命令(通过自制软件)安装了 ImageMagick 和 GraphicsMagick,以及 boost:
$ brew install graphicsmagick --with-magick-plus-plus
$ brew install imagemagick --with-magick-plus-plus
$ brew install boost --with-thread-unsafe
然后我在https://bitbucket.org/hhatto/pgmagick克隆 repo :
$ hg clone https://bitbucket.org/hhatto/pgmagick/src
$ cd pgmagick
$ python setup.py build
但是我总是收到以下错误:
ld: library not found for -lboost_python
collect2: ld returned 1 exit status
根据 stdout 上的输出,setup正在为 boost ( ) 寻找正确的位置/usr/local/lib
。
我也尝试过easy_install
,pip
但没有运气。我正在使用 Pythonbrew,但也禁用了它并尝试使用股票 python 安装 - 仍然没有成功。
关于如何解决问题或进一步诊断问题的任何建议?