[reportlab-users] still trying compile _renderPM

Webmaster webmaster at expertancy.com
Fri Mar 18 04:51:17 EST 2005


Hi,

I'm on debian

what I changed

setup.py around line 30:
FT_LIB='/usr/lib/libfreetype.so'
FT_INCLUDE='/usr/include/freetype2'

_renderPM.c around line 120
#include <ft2build.h>
#include <freetype/freetype.h>

python setup.py build output :

creating build/lib.linux-i686-2.4
gcc -pthread -shared build/temp.linux-i686-2.4/_renderPM.o -L/usr/lib 
-Lbuild/temp.linux-i686-2.4 -llibfreetype -l_renderPM_libart 
-l_renderPM_gt1 -o build/lib.linux-i686-2.4/_renderPM.so
/usr/bin/ld: cannot find -llibfreetype
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I don't get it, libfreetype.so is present in /usr/lib
moreover /usr/lib is defined in /etc/ld.so.conf

compiling this ft support is getting me mad, any help appreciated
thanks
Nicolas




More information about the reportlab-users mailing list