#48863 [Opn->Fbk]: Fatal error on main/internal_functions_cli.lo
| From: | jani@php.net | Date: | Thu, 09 Jul 2009 20:12:19 +0000 |
| Subject: | #48863 [Opn->Fbk]: Fatal error on main/internal_functions_cli.lo | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139542@lists.php.net to get a copy of this message | ||
ID: 48863
Updated by: jani@php.net
Reported By: jpmendoza at pldt dot com dot ph
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris 10
PHP Version: 5.2.10
-Assigned To:
+Assigned To: fb-req-jani
New Comment:
Paths like this are invalid: --with-freetype-dir=/usr/local/lib
Drop the /lib from ALL of those and try again. And I'd check the
freetype installation. It doesn't seem quite okay..
Previous Comments:
------------------------------------------------------------------------
[2009-07-09 11:16:27] sjoerd-php at linuxonly dot nl
Thank you for your bug report.
It seems that libnet can not be found. Configure should give an error
about this. For the moment, installing libnet should fix your problem.
------------------------------------------------------------------------
[2009-07-09 02:05:12] jpmendoza at pldt dot com dot ph
Description:
------------
Hi I'm trying to install php on solaris 10 with oracle.
I'am able to finish ./configure but when I'm going to do a make
command
it gets an error
Reproduce code:
---------------
/configure --prefix=/usr/local/php
--with-config-file-path=/usr/local/php/lib
--with-libxml-dir=/usr/local
--with-zlib=/usr/local --with-xpm-dir=/usr/local
--with-mysql=/ramsys_db/mysql4.1 --enable-sigchild
--with-mysqli=/ramsys_db/mysql4.1/bin/mysql_config
--with-apxs2=/usr/local/apache2/bin/apxs --without-pgsql
--with-jpeg-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib
--with-gd=/usr/local --enable-mbstring --enable-exif
--enable-force-cgi-redirect --with-png-dir=/usr/local/lib
--with-curl=/usr/local --with-ldap=/usr/local
--with-openssl=/usr/local/ssl --with-gettext
--with-pcre-dir=/usr/local
--with-freetype-dir=/usr/local/lib --with-mssql=/usr/local/freetds
--with-oci8=instantclient,/oracle/app/oracle/product/10.2.0/instantclien
t_10_2
Actual result:
--------------
main/internal_functions_cli.lo -lrt -lmysqlclient -lsybdb -lldap
-llber
-liconv -lintl -lgd -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lcurl -lz
-lssl -lcrypto -lresolv -lm -lnsl -lsocket -lgcc -lxml2 -lz -liconv
-lm
-lsocket -lnsl -lcurl -lidn -lssl -lcrypto -lrt -lsocket -lnsl -lssl
-lcrypto -lsocket -lnsl -ldl -lz -lxml2 -lz -liconv -lm -lsocket -lnsl
-lmysqlclient -lz -lposix4 -lgen -lsocket -lnsl -lm -lclntsh -lxml2
-lz
-liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl
-lxml2
-lz -liconv -lm -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl
-o
sapi/cli/php
libtool: link: warning: library `/usr/local/lib/libfreetype.la' was
moved.
libtool: link: warning: library `/usr/local/lib/libfreetype.la' was
moved.
ld: fatal: library -lnet: 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'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48863&edit=1