|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66853 Configure fail with --with-freetype-dir
Submitted: 2014-03-08 10:54 UTC Modified: -
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: potecheck at live dot jp Assigned:
Status: Open Package: Compile Failure
PHP Version: Irrelevant OS: Ubuntu 12.04.3 LTS
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-03-08 10:54 UTC] potecheck at live dot jp
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.

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.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Dec 02 21:01:25 2020 UTC