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: -
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:
Status: Open Package: Compile Failure
PHP Version: Irrelevant OS: Ubuntu 12.04.3 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 10:01:26 2019 UTC