Solaris - PHP- Apache- Oracle : Problem getting PHP installed

Solaris - PHP- Apache- Oracle : Problem getting PHP installed

Post by brittn.. » Sat, 12 Aug 2000 04:00:00

hello all-
I hope someone can help me. I am having difficulties getting PHP to
compile properly on my solaris 7 system.

It dies during the make. The error has to do with the stub.lo file-the
exact error is:
stub.lo: File Not Recognized:File Truncated.
collect2: ld returned 1 exit status

I configured PHP with the following parameters:
./configure --with-apxs=/usr/local/apache/apxs --with-

Apache was already installed with most modules, includeding the
mod_so module.
I also went in and had to hand configure the apxs file as specified in
the PHP FAQ.

Anyone have any ideas? As usual, I am on a deadline, and totally

Brittney McChristy

Sent via
Before you buy.


1. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK


        I've been assigned the task of building an Apache server with
support for Sybase, PHP4, OpenSSL 0.9.6/mod_ssl ?, and apache 1.3.14.

I followed Israel Denis Jr/Eugene Otto's "The Soothingly Seamless
Setup of Apache, SSL, MySQL, and PHP" at DevShed, but compilation of
apache fails if I add PHP.  The same procedure w/out PHP works OK
(either port 80 or port 443.) As a non-developper, I'm totally in the

[/home/samba/temp/Apache/apache_1.3.14]# SSL_BASE=../openssl-0.9.6
/configure --enable-module=ssl
--activate-module=src/modules/php4/libphp4.a --enable-module=php4

Configuring for Apache, Version 1.3.14
-L/home/samba/temp/Apache/openssl-0.9.6  -o helpers/dummy
helpers/dummy.c   -rdynamic -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lresolv -lm -ldl -lcrypt
-lnsl  -lresolv   -lm -lcrypt  -lssl -lcrypto
/usr/bin/ld: cannot find -lmodphp4
collect2: ld returned 1 exit status
make: *** [dummy] Error 1

Any idea?


2. HOw to compile SHARED libs?

3. PHP/Oracle and PHP Training

4. Newbie Question: Slack 2.3

5. Install Apache with PHP and Oracle

6. Where to go for setup of Local DNS

7. Apache Rewrite>index.php>index2.php

8. french ispell

9. Apache-PHP-Oracle linking problem

10. Problems with Apache/Oracle/PHP


12. apache+php+oracle

13. Need to compile Apache/PHP with Oracle