Errors compiling PHP3 as shared module with Apache 1.3.3 +mod_perl (static)
| From: | Yusuf Goolambbas | Date: | Wed, 21 Oct 1998 03:34:28 +0000 |
| Subject: | Errors compiling PHP3 as shared module with Apache 1.3.3 +mod_perl (static) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1930@lists.php.net to get a copy of this message | ||
Platform : Redhat 5.1 with Linux 2.0.34/x86
mod_perl-1.16 compiled using USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
php-3.0.5 compiled with
./configure --with-shared-apache=../apache_1.3.3
--with-mysql=/usr/local/site/mysql --with-ldap=/usr/local/site/ldap
--with-config-file-path=/usr/local/site --enable-track-vars
--enable-magic-quotes
Compiling Apache, the following erros were observed
<=== src/modules/perl
===> src/modules/php3
gcc -c -I../.. -I/usr/lib/perl5/i386-linux/5.00404/CORE -I../../os/unix -I../../include
-DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -Dbool=char -DHAS_BOOL -I/usr/local/include -DUSE_HSREGEX
../../apaci -fpic -DSHARED_MODULE mod_php3.c && mv mod_php3.o mod_php3.so-o
rm -f libphp3.so
ld -Bshareable -o libphp3.so mod_php3.so-o libmodphp3-so.a -lgdbm
-L/usr/local/site/mysql/lib/mysql -lmysqlclient -L/usr/local/site/ldap/lib -lldap -llber
-lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt -lndbm -rdynamic -L/usr/local/lib
/usr/lib/perl5/i386-linux/5.00404/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/i386-linux/5.00404/CORE -lperl -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix
-lcrypt -ldl
ld: -r and -shared may not be used together
make[4]: *** [libphp3.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.3/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.3'
make: *** [build] Error 2
Compiling PHP3 using APXS also results in error. shall send them soon
Hope this helps, Cheers Yusuf
--
Yusuf Goolamabbas
yusufg@huge.net
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net