php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4672 undefined symbol ref libphp4.a on Solaris 2.7
Submitted: 2000-05-29 16:56 UTC Modified: 2000-08-29 18:20 UTC
From: hboily at mediarenaissance dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Release Candidate 2 OS: Solaris 2.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hboily at mediarenaissance dot com
New email:
PHP Version: OS:

 

 [2000-05-29 16:56 UTC] hboily at mediarenaissance dot com
I am trying to compile PHP4 as a static module with apache 1.3.11
on solaris 2.7. The following error occures while making Apache
at "make all" (final) stage:

gcc -c  -I./os/unix -I./include   -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php
-4.0.0/Zend -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat
-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php
-4.0.0/Zend -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat
-lite -DNO_DL_NEEDED `./apaci` buildmark.c
gcc  -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0/
Zend -I/opt/php-4.0.0 -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/opt/mysql/lib  -L/usr/ucblib -L/
opt/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp
4  -lpam  -ldl -lmysqlclient -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsock
et  -lsocket  -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
php_startup_internal_extensions     modules/php4/libphp4.a(main.o)
php_global_startup_internal_extensions modules/php4/libphp4.a(SAPI.o)
php_global_shutdown_internal_extensions modules/php4/libphp4.a(SAPI.o)
ld: fatal: Symbol referencing errors. No output written to httpd
*** Error code 1
make: Fatal error: Command failed for target `target_static'



Note: i had previously received and ignored the following warning while
builing PHP4:

sh: !: not found
mkdir -p /opt/apache_1.3.11/src/modules/php4; cp libs/libphp4.a
/opt/apache_1.3.11/src/modules/php4/libmodphp4.a; cp
/opt/php-4.0.0//sapi/apache/mod_php4.* sapi/apache/libphp4.module
/opt/apache_1.3.11/src/modules/php4; cp ./sapi/apache/apMakefile.tmpl
/opt/apache_1.3.11/src/modules/php4/Makefile.tmpl; cp
./sapi/apache/apMakefile.libdir
/opt/apache_1.3.11/src/modules/php4/Makefile.libdir
installing shared modules into
/usr/local/lib/php/extensions/debug-non-zts-20000401
cp: cannot access modules/*
Making install in pear
creating header file hierarchy
creating phpize
creating php-config

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-12 01:49 UTC] sniper@php.net
Have you tried more recent version of PHP4? Or with Apache 1.3.12? 
And please provide your configure lines.

--Jani
 [2000-08-29 18:20 UTC] sniper@php.net
No feedback. Closed.

Please reopen if this problem still persists with php4.0.2 and attach your
configure line also.


--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 08:01:30 2025 UTC