Bug #2740: compile problem with sybase-ct and mysql

From: Date: Wed, 17 Nov 1999 16:57:28 +0000
Subject: Bug #2740: compile problem with sybase-ct and mysql
Groups: php.dev 
Request: Send a blank email to php-dev+get-12666@lists.php.net to get a copy of this message
From: nickt@powys.gov.uk Operating system: slackware linux 2.0.34 kernel PHP version: 3.0.12 PHP Bug Type: Compile Failure Bug description: compile problem with sybase-ct and mysql Similar to bug report 2111 and others do-config: ./configure --with-apache=/usr/local/src/apache_1.3.9 --with-sybase-ct=/usr/local/sybase --with-mysql --with-ldap=/usr/local --enable-debug=no --enable-track-vars=yes --enable-short-tags=no Build of PHP Apache module seems to go fine. Compile of Apache fails - almost identical message to bug report 2111: gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite ./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 lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib/mysql -lgd -L/usr/local/lib -lttf -L/usr/local/lib/mysql -lmysqlclient -lldap -llber -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -L/usr/local/sybase/lib -lcs -lct -lcomn -lintl -lsybtcl -linsck -lgd -lm -ldl -lm -lgdbm collect2: ld terminated with signal 11 [Segmentation fault] A clue? If I take out "--with-mysql" then it compiles and runs perfectly with the Sybase library and PHP scripts can connect fine to a MS SQL server. If I take out "--with-sybase-ct=..." then again Apache compiles fine and runs scripts against mysql server. Removing other modules does not seem to have any effect. I have the exact same combination of PHP modules (and the identical non-PHP sources) compiled and running fine with PHP 3.0.8 and Apache 1.3.6 on the same platform.

« previous php.dev (#12666) next »