Bug #66853 [Opn->Fbk]: Configure fail with --with-freetype-dir
| From: | cmb@php.net | Date: | Wed, 23 Dec 2020 17:03:03 +0000 |
| Subject: | Bug #66853 [Opn->Fbk]: Configure fail with --with-freetype-dir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231241@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66853&edit=1
ID: 66853
Updated by: cmb@php.net
Reported by: potecheck at live dot jp
Summary: Configure fail with --with-freetype-dir
-Status: Open
+Status: Feedback
Type: Bug
-Package: Compile Failure
+Package: GD related
Operating System: Ubuntu 12.04.3 LTS
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Is that still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2014-03-08 10:54:36] potecheck at live dot jp
Description:
------------
Configure fail with --with-freetype-dir.
$ cd php-5.5.10
$ ./configure --with-libxml-dir=/usr/local/lib/libxml2 --with-zlib-dir=/usr/local/lib/zlib \
--with-gd --with-png-dir=/usr/local/lib/libpng \
--with-jpeg-dir=/usr/local/lib/libjpeg --with-freetype-dir=/usr/local/lib/freetype
ã»ã»ã»
configure: error: GD build test failed. Please check the config.log for details.
config.log:
ã»ã»ã»
configure:39517: result: no
configure:42801: cc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/usr/local/lib/libxml2/lib
-L/usr/local/lib/libxml2/l
ib -Wl,-rpath,/usr/local/lib/zlib/lib -L/usr/local/lib/zlib/lib
-Wl,-rpath,/usr/local/lib/libjpeg/lib -L/usr/local/lib/libjpe
g/lib -Wl,-rpath,/usr/local/lib/libpng/lib -L/usr/local/lib/libpng/lib -Wl,-rpath,/usr/local/lib
-L/usr/local/lib conftest.c
-lpng -lz -ljpeg -lz -lrt -lm -ldl -lnsl -lxml2 -lm -ldl -lxml2 -lm -ldl -lfreetype >&5
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
When configure PHP 5.5.6 it works fine.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66853&edit=1