Skip to Content.
Sympa Menu

freetds - php4-0-4 Compile problems

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Timothy Glover" <tim AT iguana.co.nz>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: php4-0-4 Compile problems
  • Date: Thu, 11 Jan 2001 21:33:55 -0500


I have installed the latest version of freetds with, it appears, no
hassles, and edited the required files.

./configure --with-tdsver=7.0 --enable-msdblib --enable-dbmfix
--with-gnu-ld --enable-shared --enable-static
(I have changed this to get different results)


I then compile php4 with
./configure --prefix=/usr --with-gd --with-sybase-ct=/usr/local/freetds

Only to have it barf at

/bin/sh /tmp/php-4.0.4/libtool --silent --mode=link gcc -I.
-I/tmp/php-4.0.4/ -I/tmp/php-4.0.4/main -I/tmp/php-4.0.4
-I/tmp/php-4.0.4/Zend -I/usr/include/freetype
-I/tmp/php-4.0.4/ext/mysql/libmysql -I/usr/local/freetds/include
-I/tmp/php-4.0.4/ext/xml/expat/xmltok
-I/tmp/php-4.0.4/ext/xml/expat/xmlparse -I/tmp/php-4.0.4/TSRM
-DXML_BYTE_ORDER=12 -g -O2 -o php -export-dynamic stub.lo libphp4.la
/usr/bin/ld: cannot find -lsybtcl
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/tmp/php-4.0.4'
make: *** [all-recursive] Error 1


I have seen patches for 4.0.3p11 and 4.0.2 ... but none for 4.0.4 ?
Are there any available, are they needed, and if not what have I done
wrong ?

Any help would be appreciated :)

Timothy Glover




Archive powered by MHonArc 2.6.24.

Top of Page