php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2740 compile problem with sybase-ct and mysql
Submitted: 1999-11-17 17:57 UTC Modified: 2000-07-14 03:33 UTC
From: nickt at powys dot gov dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.12 OS: slackware linux 2.0.34 kernel
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nickt at powys dot gov dot uk
New email:
PHP Version: OS:

 

 [1999-11-17 17:57 UTC] nickt at powys dot gov dot uk
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-11 22:02 UTC] joey at cvs dot php dot net
Do you still have this problem with 4.0?
 [2000-07-14 03:33 UTC] joey at cvs dot php dot net
Closing at user's request
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 01:00:01 2026 UTC