php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: potecheck at live dot jp
New email:
PHP Version: OS:

 

 [2014-03-08 10:54 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

[1] <https://www.php.net/supported-versions.php>
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC