error compiling freetds with php

Sam Sam s4m at lycos.com
Wed Aug 1 02:58:02 EDT 2001


Hi Guys..
I've just want compile freetds-0.50.tgz with php-4.0.6..
I did:
./configure --prefix=/freetds --with-tdsver=7.0
make; make install
export LD_LIBRARY_PATH=/freetds/lib
export LD_RUN_PATH=/freetds
export SYBASE=/freetds

then.. in php
./configure --with-sybase-ct=/freetds --with-mysql --with-xml
make

in the make there it can't find -lsybctl here is the error:
/bin/sh /data/src/php-4.0.6/libtool --silent --mode=link gcc  -I. -I/data/src/ph
p-4.0.6/ -I/data/src/php-4.0.6/main -I/data/src/php-4.0.6 -I/data/src/php-4.0.6/
Zend -I/data/src/php-4.0.6/ext/mysql/libmysql -I/freetds/include -I/data/sr
c/php-4.0.6/ext/xml/expat/xmltok -I/data/src/php-4.0.6/ext/xml/expat/xmlparse -I
/data/src/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2   -o php -ex
port-dynamic     stub.lo libphp4.la
ld: cannot open -lsybtcl: No such file or directory
make[1]: *** [php] Error 1                          

anyone know where I can get this lib ?



Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/



More information about the FreeTDS mailing list