Re: [PHP4BETA] PHP Dev & GD & TTF
| From: | Michal Kolodziejczyk | Date: | Sat, 27 Nov 1999 08:38:27 +0000 |
| Subject: | Re: [PHP4BETA] PHP Dev & GD & TTF | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6962@lists.php.net to get a copy of this message | ||
On Sat, 27 Nov 1999, Matt Allen wrote:
> Hi Guys,
>
> I compiled php4b3 with gd and ttf support and when i hit this page:
[...]
> the apache error logs report this:
>
> [Sat Nov 27 13:57:46 1999] [notice] Apache/1.3.9 (Unix) PHP/4.0b3
> configured -- resuming normal operations
> /www/bin/httpd: error in loading shared libraries: /www/bin/httpd: undefined
> symbol: TT_Init_FreeType
> I also got downloaded CVS as of today and it said exactly the same thing.
>
> Any Ideas ?
I had the same problem with libc-client when compiling with imap and pdf.
You have one library missing durink final linking step, check which one:
# grep -l TT_Init_FreeType /usr/lib/lib*
/usr/lib/libttf.a
/usr/lib/libttf.so
/usr/lib/libttf.so.2
/usr/lib/libttf.so.2.1.0
So I think you need to add something like
EXTRA_LIBS="$EXTRA_LIBS -lttf"
somewhere near the bottom of php4/ext/gd/config.m4, and rerun buildconfig.
I don't know if this is the correct solution, but it works for me.
Michal
--
_/ _/ _/_/_/ ----- Michal Kolodziejczyk, miko@wp.pl -----
_/ _/ _/ _/ _/ Wirtualna Polska S.A. http://www.wp.pl
_/_/_/_/ _/_/_/ ul. Uphagena 2, 80-237 Gdansk, tel/fax. (58) 3455545
_/ _/ _/ --------==* Moja WP: http://moja.wp.pl
*==----------