php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48861 Problem in compiling php on solaris 10 with oracle
Submitted: 2009-07-09 01:17 UTC Modified: 2009-07-09 20:12 UTC
From: jpmendoza at pldt dot com dot ph Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.10 OS: Solaris 10
Private report: No CVE-ID: None
 [2009-07-09 01:17 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/instantclient_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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-09 11:18 UTC] sjoerd-php at linuxonly dot nl
Duplicate of #48863.
 [2009-07-09 20:12 UTC] jani@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 20:01:32 2025 UTC