Miroslav Lachman 000.fbsd at
Thu Nov 23 03:07:21 PST 2006

Matt Smith wrote:
> Build of php5:
> ..../zend_objects.lo Zend/zend_object_handlers.lo 
> Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo 
> Zend/zend_execute.lo sapi/apache2handler/mod_php5.lo 
> sapi/apache2handler/sapi_apache2.lo sapi/apache2handler/apache_config.lo 
> sapi/apache2handler/php_functions.lo main/internal_functions.lo -lcrypt 
> -lcrypt -lmysqlclient -liconv -lm -lxml2  -lz -liconv -lm -lxml2 -lz 
> -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -lxml2 -lz -liconv -lm -lxml2 
> -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt  -o
> grep: /usr/local/lib/ No such file or directory
> sed: /usr/local/lib/ No such file or directory
> libtool: link: `/usr/local/lib/' is not a valid libtool archive
> *** Error code 1
> Stop in /root/php-5.2.0.

Do you have libiconv port installed?

root at hptest ~/# lsq /usr/local/lib/
-r--r--r--  1 root  wheel   784B Oct 14 11:45 /usr/local/lib/
root at hptest ~/# pkg_info -W /usr/local/lib/
/usr/local/lib/ was installed by package 
libiconv-1.9.2_2root at hptest ~/# pkg_info -r php5-5.2.0
Information for php5-5.2.0:

Depends on:
Dependency: pkg-config-0.21
Dependency: perl-5.8.8
Dependency: libiconv-1.9.2_2
Dependency: libxml2-2.6.26
Dependency: expat-2.0.0_1
Dependency: apache-2.2.3

Miroslav Lachman

More information about the freebsd-stable mailing list