won't dynamically link
| From: | Glenn Little | Date: | Tue, 11 Apr 2000 20:10:37 +0000 |
| Subject: | won't dynamically link | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13425@lists.php.net to get a copy of this message | ||
I'm sorry to be bugging this list about this, but you all are my
last resort. I've already tried zend.com, phpbuilder, php.net,
the deja archives, etc. I'm currently unable to find any way
to get php4 working.
running sparc-solaris (sunos 5.6)
apache 1.3.12, compiled with dynamic linking (mod.so) enabled.
Here are the flags:
./configure
"--prefix=/web/apache-1.3.12"
"--with-layout=Apache"
"--enable-module=so"
"--enable-module=auth_dbm"
php-4, RC1, compiled to use dynamic linking (apxs). Here are the flags:
./configure
--with-apxs=/web/apache-1.3.12/bin/apxs
--prefix=/web/php-4.0RC1
--with-config-file-path=/web/php ## that's a symlink to the --prefix path
--without-gd
--enable-sysvshm=yes
--enable-sysvsem=yes
--enable-safe-mode=yes
--with-exec-dir=/web/php/safe-bin
--enable-track-vars=yes
--enable-trans-sid=yes
--enable-force-cgi-redirect=yes
--enable-memory-limit=yes
--with-xml
--enable-short-tags=no
As far as I can tell, compiles and installs go fine. But when I try to
start up the web server, I get this error:
Syntax error on line 212 of /web/apache/conf/httpd.conf:
Cannot load /web/apache/libexec/libphp4.so into server: ld.so.1:
/web/apache/bin/httpd: fatal: relocation error:
file /web/apache/libexec/libphp4.so: symbol ap_block_alarms:
referenced symbol not found
Line 212 is the loadmodule line:
LoadModule php4_module libexec/libphp4.so
Commenting out that line allows httpd to start, but of course without php.
Has anyone run across this before? Any help would be appreciated, since
I'm stumped and we're dead in the water as far as php goes.
Thanks.
-glenn
glittle@cs.ucsd.edu