php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8690
Submitted: 2001-01-13 16:38 UTC Modified: 2001-01-16 04:19 UTC
From: suen at cosmos dot ot dot buffalo dot edu Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.4 OS: Solaris 8
Private report: No CVE-ID: None
 [2001-01-13 16:38 UTC] suen at cosmos dot ot dot buffalo dot edu
OS: Sun Solaris 8
Apache Version: 1.3.14
Php Version: php-4.0.4pl1

I am tryingto install php as static.
What is the difference between Dynamic and Static?
It give error during the make of apache after install of php:

Here are the steps and flages that I used to compile each one of them:

Apache:
./configure --prefix=/usr/local/apache
make
make install

Apache installation O.K. and Server comes up fine.

PHP:
./configure --with-mysql --with-apache=../apache_1.3.14 --enable-track-vars
O.K.
make -- O.K...
make install O.K...

cd /usr/local/apache_1.3.14
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a
---O.K---
make  FAIL.... FAIL...

SRM -I/usr/local/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`    \
      -o httpd buildmark.o modules.o  modules/php4/libphp4.a  modules/standard/libstandard.a  main/libmain.a  ./os
/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a  -R/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/
2.95.2  -L/usr/ucblib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2 -Lmodules/php4 -L../modules/php4 -L../.
./modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket  -lsocket -lgcc   -lsocket
 -lnsl
Undefined                       first referenced
 symbol                             in file
mysql_get_client_info               modules/php4/libphp4.a(php_mysql.o)
mysql_drop_db                       modules/php4/libphp4.a(php_mysql.o)
mysql_close                         modules/php4/libphp4.a(php_mysql.o)
mysql_fetch_lengths                 modules/php4/libphp4.a(php_mysql.o)
mysql_free_result                   modules/php4/libphp4.a(php_mysql.o)
mysql_num_fields                    modules/php4/libphp4.a(php_mysql.o)
mysql_create_db                     modules/php4/libphp4.a(php_mysql.o)
mysql_num_rows                      modules/php4/libphp4.a(php_mysql.o)
mysql_field_seek                    modules/php4/libphp4.a(php_mysql.o)
mysql_list_fields                   modules/php4/libphp4.a(php_mysql.o)
mysql_fetch_row                     modules/php4/libphp4.a(php_mysql.o)
mysql_real_query                    modules/php4/libphp4.a(php_mysql.o)
mysql_real_connect                  modules/php4/libphp4.a(php_mysql.o)
mysql_stat                          modules/php4/libphp4.a(php_mysql.o)
mysql_insert_id                     modules/php4/libphp4.a(php_mysql.o)
mysql_use_result                    modules/php4/libphp4.a(php_mysql.o)
mysql_escape_string                 modules/php4/libphp4.a(php_mysql.o)
mysql_fetch_field                   modules/php4/libphp4.a(php_mysql.o)
mysql_list_dbs                      modules/php4/libphp4.a(php_mysql.o)
mysql_field_count                   modules/php4/libphp4.a(php_mysql.o)
mysql_errno                         modules/php4/libphp4.a(php_mysql.o)
mysql_error                         modules/php4/libphp4.a(php_mysql.o)
mysql_select_db                     modules/php4/libphp4.a(php_mysql.o)
mysql_store_result                  modules/php4/libphp4.a(php_mysql.o)
mysql_affected_rows                 modules/php4/libphp4.a(php_mysql.o)
mysql_list_tables                   modules/php4/libphp4.a(php_mysql.o)
mysql_data_seek                     modules/php4/libphp4.a(php_mysql.o)
mysql_init                          modules/php4/libphp4.a(php_mysql.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Current working directory /usr/local/apache_1.3.14/src
*** Error code 1
make: Fatal error: Command failed for target `build-std'
Current working directory /usr/local/apache_1.3.14
*** Error code 1
make: Fatal error: Command failed for target `build'

Thank you very much for your help...

Mike



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-16 04:19 UTC] sniper@php.net
Removing config.cache, reconfiguring and
'make clean; make; make install' fixed this.

--Jani 
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Aug 17 11:05:46 2022 UTC