pango compilation problem


I am trying to compile pango-1.21.3 but get a linker error about two freetype functions, although these functions are -- to my knowledge -- accessible.

My system is Redhat Enterprise WS Release 4 (Nahant Update 6). The system is somewhat outdated. So, to be able to also use some newer software, I installed a some libraries in at an alternative location, namely /usr/local/pkensche/.

I have the following library versions installed to /usr/local/pkensche:


The versions installed by the redhat system are:
no cairo library installed by redhat

This is the error:

/bin/sh ../libtool --tag=CC   --mode=link gcc  -O2 -march=i686 -L/usr/local/pkensche/lib -L/work/devel/local/lib -Wall -I/usr/local/pkensche/include -I/work/devel/local/include -I/usr/include -I/usr/local/include -march=i686 -O2 -march=i686 -O2   -o cairosimple cairosimple.o ../pango/ ../pango/ -L/usr/local/pkensche/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -L/usr/local/pkensche//lib -lcairo   ../pango/
mkdir .libs
gcc -O2 -march=i686 -Wall -I/usr/local/pkensche/include -I/work/devel/local/include -I/usr/include -I/usr/local/include -march=i686 -O2 -march=i686 -O2 -o .libs/cairosimple cairosimple.o  -L/usr/local/pkensche/lib -L/work/devel/local/lib ../pango/.libs/ ../pango/.libs/ -L/usr/local/pkensche//lib -L/usr/X11R6/lib /work/packages/System/gtk/pango-1.21.3/pango/.libs/ /usr/local/pkensche//lib/ /usr/local/pkensche//lib/ /usr/lib/ -lpng12 -lXrender -lXext -lSM -lICE -lX11 ../pango/.libs/ /work/packages/System/gtk/pango-1.21.3/pango/.libs/ /usr/local/pkensche/lib/ /usr/local/pkensche/lib/ -ldl /usr/local/pkensche/lib/ /usr/local/pkensche//lib/ /usr/local/pkensche/lib/ -lz /usr/lib/ -lm  -Wl,--rpath -Wl,/usr/local/pkensche//lib -Wl,--rpath -Wl,/usr/local/pkensche/lib
/usr/local/pkensche//lib/ undefined reference to `FT_GlyphSlot_Embolden'
/usr/local/pkensche//lib/ undefined reference to `FT_Select_Size'
collect2: ld returned 1 exit status
make[2]: *** [cairosimple] Error 1
make[2]: Leaving directory `/work/packages/System/gtk/pango-1.21.3/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/packages/System/gtk/pango-1.21.3'
make: *** [all] Error 2

I checked and with ldd:

ldd /usr/local/pkensche/lib/ => /usr/local/pkensche/lib/ (0x00b60000) => /usr/local/pkensche/lib/ (0x00e6e000) => /usr/local/pkensche/lib/ (0x00111000) => /usr/lib/ (0x003e2000) => /usr/X11R6/lib/ (0x00fa9000) => /usr/X11R6/lib/ (0x0031a000) => /usr/X11R6/lib/ (0x00146000) => /usr/X11R6/lib/ (0x00702000) => /usr/X11R6/lib/ (0x0014f000) => /usr/local/pkensche/lib/ (0x00401000) => /lib/tls/ (0x0022e000) => /lib/tls/ (0x004ba000) => /usr/lib/ (0x00251000) => /lib/ (0x00270000)
        /lib/ (0x003ca000)

ldd /usr/local/pkensche/lib/ => /usr/local/pkensche/lib/ (0x00dad000) => /usr/lib/ (0x00111000) => /usr/lib/ (0x0065c000) => /lib/tls/ (0x00a42000)
        /lib/ (0x003ca000)

The referenced contains the two functions, though:

nm /usr/local/pkensche/lib/ | grep -P "FT_GlyphSlot_Embolden|FT_Select_Size"
00015a20 T FT_GlyphSlot_Embolden
00009830 T FT_Select_Size

I don't know how to narrow down the cause of this problem and would appreciate any help. Please tell me if you need more information.

Thanks in advance!


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