I have installed redhat 7.2 with php but I can´t run imagettftext because it have not loaded the library of ttf.
I can make png images but no ttf text.
I also have all de rpm installed:
php-4.0.6-7
php-devel-4.0.6-7
php-imap-4.0.6-7
php-pgsql-4.0.6-7
php-manual-4.0.6-7
php-odbc-4.0.6-7
asp2php-0.75.17-1
php-ldap-4.0.6-7
php-mysql-4.0.6-7
freetype-2.0.3-7
If I try to erase an rpm:
[root@localhost root]# rpm -e freetype-2.0.3-7
error: removing these packages would break dependencies:
libfreetype.so.6 is needed by XFree86-libs-4.1.0-3
libfreetype.so.6 is needed by gd-1.8.4-4
libfreetype.so.6 is needed by mrtg-2.9.6-6
libfreetype.so.6 is needed by php-4.0.6-7
libfreetype.so.6 is needed by webalizer-2.01_06-11
libttf.so.2 is needed by VFlib2-2.25.1-20
libttf.so.2 is needed by ghostscript-6.51-12
libttf.so.2 is needed by mrtg-2.9.6-6
libttf.so.2 is needed by php-4.0.6-7
libttf.so.2 is needed by webalizer-2.01_06-11

so php has loaded libttf
why I cant make ttf text?
please help me

    3 months later

    Hello,
    I am having the same problem.
    Just checking to see if you have resolved this problem?
    If so how?
    I am trying to use the imagettftext() method.
    Thanks,
    Matt

    Christian O. wrote:

    I have installed redhat 7.2 with php but I can´t run imagettftext because it have not loaded the library of ttf.
    I can make png images but no ttf text.
    I also have all de rpm installed:
    php-4.0.6-7
    php-devel-4.0.6-7
    php-imap-4.0.6-7
    php-pgsql-4.0.6-7
    php-manual-4.0.6-7
    php-odbc-4.0.6-7
    asp2php-0.75.17-1
    php-ldap-4.0.6-7
    php-mysql-4.0.6-7
    freetype-2.0.3-7
    If I try to erase an rpm:
    [root@localhost root]# rpm -e freetype-2.0.3-7
    error: removing these packages would break dependencies:
    libfreetype.so.6 is needed by XFree86-libs-4.1.0-3
    libfreetype.so.6 is needed by gd-1.8.4-4
    libfreetype.so.6 is needed by mrtg-2.9.6-6
    libfreetype.so.6 is needed by php-4.0.6-7
    libfreetype.so.6 is needed by webalizer-2.01_06-11
    libttf.so.2 is needed by VFlib2-2.25.1-20
    libttf.so.2 is needed by ghostscript-6.51-12
    libttf.so.2 is needed by mrtg-2.9.6-6
    libttf.so.2 is needed by php-4.0.6-7
    ....

      Write a Reply...