Pango compilation/linking error :FT_Load_Sfnt_Table



Hello,
I am trying to install GTK 2.6 on my computer:
Mandrake 9.1/x86
kernel 2.4.21-0.13mdk

Since there are many dependencies, I have installed the following:
libconv 
gettext
jpg,png and tiff libraries
freeetype2
fontconfig
cairo

all are latest verions, installed today. Some of them may already have been installed but I didn't know and I don't know how to find out, so I installed.

Now all that went well (with a few glitches) and I also managed to install Glib 2.6.0
Now the next in sequence is Pango (1.8.2) and this is where I am stuck.

I have used the configure utility with --prefix=/usr/local

when I do 'make' I get the following error:

gcc -g -O2 -Wall -o ottest ottest.o disasm.o  ./.libs/libpango-ot.a -L/usr/local/lib /usr/local/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/local/lib/libfreetype.so -lz /usr/local/lib/libiconv.so -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
/usr/local/lib/libfontconfig.so: undefined reference to `FT_Load_Sfnt_Table'
collect2: ld returned 1 exit status
make[4]: *** [ottest] Error 1
make[4]: Leaving directory `/home/salil/programs/pango1.82/pango-1.8.2/pango/opentype'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/salil/programs/pango1.82/pango-1.8.2/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/salil/programs/pango1.82/pango-1.8.2/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/salil/programs/pango1.82/pango-1.8.2'
make: *** [all] Error 2

I think this has something to do with freetype since I had got a similar error with installing fontconfig but after installing freetype2 it went fine. Now I again reinstalled freetype2 but the error wont go. I have also set the following environment variables:

[salil dhcp061002 gtk2.6]$ echo $PKG_CONFIG_PATH
/usr/local/lib/pkgconfig
[salil dhcp061002 gtk2.6]$ echo $LD_CONFIG_PATH
/usr/local/lib
[salil dhcp061002 gtk2.6]$ echo $LD_LIBRARY_PATH
/usr/local/lib

I also ran ldconfig after installing freetype2 and then make for Pango gives that error. I don't understand that 'FT_Load_Sfnt_Table' is and why is only that causing the problem. 

I am not an expert. I would really appreciate if anyone could help.
Thanks.

-Salil.
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]