Re: libphp4.so: symbol sapi_module: referenced symbol not found
| From: | Ted Cox | Date: | Wed, 19 Dec 2001 22:53:05 +0000 |
| Subject: | Re: libphp4.so: symbol sapi_module: referenced symbol not found | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5343@lists.php.net to get a copy of this message | ||
FYI,
I have resolved this issue, by upgrading to PHP 4.1.0.
Initially when switiching to the new version of PHP I ran into an issue with sapi_apache.c searching for httpd.h and a number of other Apache include headers which were not in path since I was doing the --with-apxs install instead of the --with-apache install.
However, I went ahead and ran configure with --with-apache and pointed it to my apache source. Ran make. Reran configure with --with-apxs and was able to compile properly because the sapi_apache.lo had already built using the apache headers.
I saw that question several places in the archive and hadn't seen an answer, so there's my work around for what it's worth.
Ted
On 2001.12.19 10:08 Ted Cox wrote:
Apache 1.3.12, PHP 4.0.6, Solaris 2.6 ./configure --with-apxs=/app/.o/Apache/Apache/bin/apxs checking for Apache module support via DSO through APXS... yes Initially I run into the stub.lo error, but I found a note in the archives and moved the file to stub.lo.old. Problem solved. Make works. Make install works. I try to start apache and get: Syntax error on line 243 of /app/oracle9iappsrv/Apache/Apache/conf/httpd.conf: Cannot load /app/oracle9iappsrv/Apache/Apache/libexec/libphp4.so into server: ld.so.1: /app/oracle9iappsrv/Apache/Apache/bin/httpd: fatal: relocation error: file /app/oracle9iappsrv/Apache/Apache/libexec/libphp4.so: symbol sapi_module: referenced symbol not found ./apachectl startssl: httpd could not be started I've searched all through the archives and noted a number of posts about similar problems (uncompress, gd, etc) and all of them have been solved with a simple --enable-<something> but I couldn't figure out what to enable for the sapi_module symbol. Any help would be much appreciated. Thanks, Ted Cox -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net