[PHP-users 12552] php4.3.0

php-users@php.gr.jp php-users@php.gr.jp
Tue, 14 Jan 2003 19:13:11 +0900


初めまして高橋と申します。

Solaris8にてphp4.3.0を入れようとしているのですが、
library -lcr: not foundとなりmakeが止まってしまいます。

もし、原因がおわかりの方がいらっしゃいましたらご教授を
お願いします。
あと、
http://ns1.php.gr.jp/pipermail/php-users/2002-November/011871.html
を参考に作業を致しましたが、現象が再現してしまったことを付け加え
させていただきます。

./configure \
        --enable-trans-sid \
        --enable-versioning \
        --enable-track-vars \
        --enable-sigchild \
        --enable-mbstring \
        --enable-mbregex \
        --enable-zend-multibyte \
        --enable-sockets \
        --enable-sysvsem \
        --enable-sysvshm \
        --enable-memory-limit \
        --with-mod_charset \
        --with-apxs=/usr/local/apache/1.3.26/bin/apxs \
        --with-oci8=/export/home/oracle/product/8.1.7 \
        --with-pgsql=/usr/local/pgsql/7.2.1 \
        --with-pdflib=/usr/local \
        --with-png-dir=/usr/local \
        --with-zlib-dir=/usr/local \
        --with-jpeg-dir=/usr/local \
        --with-gd=/usr/local \
        --without-mysql \
        --without-msql \
        --enable-cli \
        --enable-xml
        
を行った後、make testを実行すると

/bin/sh libtool --silent --mode=compile gcc  -Imain/ -I/usr/local/src/
php-4.3.0/main/ -DPHP_ATOM_INC -I/usr/local/src/php-4.3.0/include -I/usr
/local/src/php-4.3.0/main -I/usr/local/src/php-4.3.0 -I/usr/local/src/
php-4.3.0/Zend -I/usr/local/include -I/export/home/oracle/product/8.1.7/
rdbms/public -I/export/home/oracle/product/8.1.7/rdbms/demo -I/usr/local
/pgsql/7.2.1/include -I/usr/local/src/php-4.3.0/ext/xml/expat  -
D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT -DSHARED_CORE -I/
usr/local/src/php-4.3.0/TSRM  -g -O2  -prefer-pic -c main/
internal_functions_cli.c -o main/internal_functions_cli.lo

cc1: warning: changing search order for system directory "/usr/local/
include"
cc1: warning:   as it has already been specified as a non-system 
directory

/bin/sh libtool (中略)

Output line too long.
Output line too long.
Output line too long.

ld: fatal: library -lcr: not found
ld: fatal: File processing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'

となります。
以上、よろしくお願い致します。

ゼンケンプラネット株式会社 高橋 研輔
tel. 03 (3345) 5651 fax. 03 (3345) 5661