|  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
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
35 + 19 = ?
Subscribe to this entry?

 [2009-07-09 02:05 UTC] jpmendoza at pldt dot com dot ph
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-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

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
libtool: link: warning: library `/usr/local/lib/' was
libtool: link: warning: library `/usr/local/lib/' was
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'


Add a Patch

Pull Requests

Add a Pull Request


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]
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: Fri Apr 19 03:01:27 2024 UTC