php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48863 Fatal error on main/internal_functions_cli.lo
Submitted: 2009-07-09 02:05 UTC Modified: 2009-07-17 01:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jpmendoza at pldt dot com dot ph Assigned: fb-req-jani (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.10 OS: Solaris 10
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-07-09 02:05 UTC] 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'


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-09 11:16 UTC] 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 20:12 UTC] jani@php.net
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..

 [2009-07-17 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 00:01:28 2024 UTC