PHP 4.0 Bug #5394: Linking problem with libphp4.a and libmodphp4.a
| From: | bnies at hsr dot ch | Date: | Thu, 06 Jul 2000 07:56:18 +0000 |
| Subject: | PHP 4.0 Bug #5394: Linking problem with libphp4.a and libmodphp4.a | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23535@lists.php.net to get a copy of this message | ||
From: bnies@hsr.ch
Operating system: HP-UX pollux B.11.00 U 9000/800 2004707392 unlimited-user license
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: Linking problem with libphp4.a and libmodphp4.a
Hi,
When compiling Apache + PHP4 on HP-UX with the nativ
ANSI-C compiler and the commands:
cd apache_1.3.12
./configure --prefix=/opt/apache
cd ../php-4.0.1pl2
./configure \
> --prefix=/opt/apache \
> --with-apache=../apache_1.3.12 \
> --enable-memory-limit=yes \
> --enable-debug=no \
> --with-config-file-path=/opt/apache \
> --with-mysql=/opt/mysql
make
make install
cd ../apache_1.3.12
./configure \
> --prefix=/opt/apache \
> --activate-module=src/modules/php4/libphp4.a \
> --enable-module=php4
make
I get lots of error messages like this example:
/usr/ccs/bin/ld: Duplicate symbol "function_name" in modules/php4/libphp4.a(mod_php4.o)
and
modules/php4/libmodphp4.a(mod_php4.o)
which might be a result because libphp4.a and libmodphp4.a
are both used for linking.
Thanks in advance for your help.
Regards,
Bernd Nies