|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8947 php don't compile using --with-sybase and FreeTDS (php 4.0.0 does)
Submitted: 2001-01-26 20:42 UTC Modified: 2001-12-13 16:52 UTC
From: apina at infolink dot com dot br Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.4pl1 OS: Slackware 7.0 Kernel 2.2.16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: apina at infolink dot com dot br
New email:
PHP Version: OS:


 [2001-01-26 20:42 UTC] apina at infolink dot com dot br
Using FreeTDS 0.50 and php4.0.4pl1 with /configure  --with-config-file-path=/bin/lsd --disable-debug --enable-safe-mode --enable-track-vars --enable-magic-quotes --enable-force-cgi-redirect --with-mysql=/usr/local/mysql --enable-memory-limit --with-sybase=/usr/local/freetds --enable-inline-optimization --with-ftp results in:

make[1]: Entering directory `/root/pacotes/php-4.0.4pl1'
/bin/sh /root/pacotes/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. -I/root
/pacotes/php-4.0.4pl1/ -I/root/pacotes/php-4.0.4pl1/main -I/root/pacotes/php-4.0
.4pl1 -I/root/pacotes/php-4.0.4pl1/Zend -I/usr/local/mysql/include/mysql -I/usr/
local/freetds/include -I/root/pacotes/php-4.0.4pl1/ext/xml/expat/xmltok -I/root/
pacotes/php-4.0.4pl1/ext/xml/expat/xmlparse -I/root/pacotes/php-4.0.4pl1/TSRM  -
DXML_BYTE_ORDER=12 -g -O2   -o php -export-dynamic       stub.lo
.libs/libphp4.a(php_sybase_db.o): In function `php_sybase_do_connect':
/root/pacotes/php-4.0.4pl1/ext/sybase/php_sybase_db.c:354: undefined reference t
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/root/pacotes/php-4.0.4pl1'
make: *** [all-recursive] Error 1         

Please notice that php-4.0.0 does compile VERY well with the same configure and libs and et all.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-13 16:52 UTC]
Works for me with FreeTDS 0.52 and PHP 4.1.0

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 19:01:32 2024 UTC