Undefined function imagettftext ()

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hi. I'm having a problem with a php program on debian. As you all
probably guessed from the title, I get an undefined function call error
whenever I call imagettftext ().

I did compile php with the freetype support. Here's the snippet from
phpinfo ()
'./configure' '--mandir=/usr/share/man' '--prefix=/usr/local/php'
'--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql' '--with-gd'
'--with-png-dir=/usr/lib' '--with-zlib' '--with-jpeg-dir=/usr/lib'
'--with-freetype-dir=/usr/lib' '--with-ttf'

And I also checked if the library is linked. Output from ldd -
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40026000)
        librt.so.1 => /lib/librt.so.1 (0x40053000)
        libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12
        libz.so.1 => /usr/lib/libz.so.1 (0x400a5000)
        libm.so.6 => /lib/libm.so.6 (0x400b7000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400d9000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40146000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4016b000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40189000)
        libdl.so.2 => /lib/libdl.so.2 (0x4019c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x4019f000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x401b4000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x402bb000)
        libc.so.6 => /lib/libc.so.6 (0x4030c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

What have I missed ? Appreciate any help that comes my way.


Site Timeline