Bug #1127: collect2: ld terminated with signal 11 [Segmentation fault]
| From: | bginter at abilnet dot com | Date: | Mon, 08 Feb 1999 22:22:40 +0000 |
| Subject: | Bug #1127: collect2: ld terminated with signal 11 [Segmentation fault] | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3986@lists.php.net to get a copy of this message | ||
From: bginter@abilnet.com
Operating system: Linux 2.1.131
PHP version: 3.0.6
PHP Bug Type: Compile Failure
Bug description: collect2: ld terminated with signal 11 [Segmentation fault]
Hello,
I'm trying to compile Apache 1.3.4 with mod_ssl 2.2.2-1.3.4 and php 3.0.6.
This compiles with php 3.0.5.
CFLAGS='-O2 -I/path/to/ssleay/include' \
./configure \
--with-apache=../apache_1.3.4 \
--with-mysql=/usr/local/mysql \
--with-gd=/src/gd1.3 \
--with-sybase-ct=/usr/local/sybase \
--enable-memory-limit=yes \
--enable-debug=no \
--enable-bcmath=yes
make && make install
This works. I then change into the apache directory:
cd ../apache_1.3.4
SSL_BASE=/usr/local/ssl \
./configure \
--prefix=/usr/local/apache \
--enable-module=ssl \
--activate-module=src/modules/php3/libphp3.a \
--enable-module=php3
And I get the following error on the last stage of the compile:
gcc -DLINUX=2 -DMOD_SSL=202102 -DUSE_HSREGEX -DEAPI
./apaci -L/usr/local/ssl/lib \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/ssl/libssl.a
modules/php3/libphp3.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -Lmodules/php3
-L../modules/php3 -L../../modules/php3 -lmodphp3 -lgdbm -L/usr/local/sybase/lib -lcs -lct
-lcomn -lintl -lsybtcl -linsck -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -lmysqlclient
-lm -ldl -lm -ldbm -lssl -lcrypto
collect2: ld terminated with signal 11 [Segmentation fault]
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/scsi/src/apache/apache_1.3.4/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/scsi/src/apache/apache_1.3.4'
make: *** [build] Error 2
I've tried compiling it without mod_ssl support and I get the same error:
./configure --activate-module=src/modules/php3/libphp3.a --enable-module=php3
make
[...SNIP...]
gcc -DLINUX=2 -DUSE_HSREGEX ./apaci \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php3/libphp3.a
main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a -Lmodules/php3 -L../modules/php3
-L../../modules/php3 -lmodphp3 -lgdbm -L/usr/local/sybase/lib -lcs -lct -lcomn -lintl -lsybtcl
-linsck -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -lmysqlclient
-lm -ldl -lm
collect2: ld terminated with signal 11 [Segmentation fault]
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/scsi/src/apache/apache_1.3.4/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/scsi/src/apache/apache_1.3.4'
make: *** [build] Error 2
Ok, so I doubt you would release 3.0.6 if it doesn't compile under Apache 1.3.4. Here are my
program versions:
ldd: version 1.9.9
/lib/libc.so.5.4.44
GNU Make version 3.76.1
GNU ld version 2.9.1 (with BFD 2.9.1.0.19)
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
Thanks for all your hard work!
--
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