OpenShift install PIL with freetype2

This is what worked for PIL with jpeg, zlib and freetype2 support:

> ln -s /usr/lib64/libz.so $VIRTUAL_ENV/lib/
> ln -s /usr/lib64/libfreetype.so $VIRTUAL_ENV/lib/
> ln -s /usr/lib64/libjpeg.so $VIRTUAL_ENV/lib/

>pip install PIL

Result:

*** TKINTER support not available
— JPEG support available
— ZLIB (PNG/ZIP) support available
— FREETYPE2 support available
*** LITTLECMS support not available

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

3 × 2 =