#32381 [Bgs->Opn]: T1lib configuring error
| From: | dbarth at gmx dot net | Date: | Mon, 21 Mar 2005 23:33:18 +0000 |
| Subject: | #32381 [Bgs->Opn]: T1lib configuring error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75696@lists.php.net to get a copy of this message | ||
ID: 32381
User updated by: dbarth at gmx dot net
Reported By: dbarth at gmx dot net
-Status: Bogus
+Status: Open
Bug Type: GD related
Operating System: Mandrake 10
PHP Version: 5.0.3
New Comment:
huh, now i tried the same with ttf fonts... and encountered the same
error:
Warning: imageftbbox() [function.imageftbbox]: Could not read font in
... on line 56
hmm, do these functions share the same lib?
Previous Comments:
------------------------------------------------------------------------
[2005-03-21 21:55:22] dbarth at gmx dot net
So, i did like you say and upgraded t1lib, but now
imageloadpsfont (the function i actually need) say's that it cant't
load the font i supplied. What the hell is wrong? Is that a problem of
t1lib? Under php4 with my old t1lib there wasn't any problem.
------------------------------------------------------------------------
[2005-03-20 17:54:27] sniper@php.net
Update your t1lib.
------------------------------------------------------------------------
[2005-03-20 10:22:32] dbarth at gmx dot net
Description:
------------
Hello I need to compile php with t1lib support, but i get follwing
error while configuring:
configure:30293: checking for jpeg_read_header in -ljpeg
configure:30576: checking for png_write_image in -lpng
configure:31675: checking for T1_StrError in -lt1
configure:31694: gcc -o conftest -g -O2 conftest.c -lt1 -lpng -lz
-ljpeg -lg
bm -lbz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
-lxml2 -lz
lm 1>&5
/tmp//ccaz46FM.o(.text+0x9): In function `main':
/usr/local/src/php-5.0.3/configure:31690: undefined reference to
`T1_StrError'
collect2: ld returned 1 exit status
configure: failed program was:
#line 31683 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char T1_StrError();
int main() {
T1_StrError()
; return 0; }
any suggestions?
(ver: t1lib 1.3.1)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32381&edit=1