|  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: 2021-01-03 04:22 UTC
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: cmb (profile)
Status: No Feedback Package: GD related
PHP Version: Irrelevant OS: Ubuntu 12.04.3 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
45 - 35 = ?
Subscribe to this entry?

 [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


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-23 17:03 UTC]
-Status: Open +Status: Feedback -Package: Compile Failure +Package: GD related -Assigned To: +Assigned To: cmb
 [2020-12-23 17:03 UTC]
Is that still an issue with any of the actively supported PHP

[1] <>
 [2021-01-03 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 00:01:23 2021 UTC