freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "bao nguyen" <baonguyenx AT yahoo.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: Error Compiling FreeTDS0.51 with Php4.03Pl1
- Date: Thu, 30 Nov 2000 21:31:33 -0500
Hi
Please help 911!!!
System Info: Linux6.1,FreeTDS0.51,PHP4.03Pl1, MySQL3.23.28,Apache1.3.9
DB Server: NT4.0, MSSQL 7.0, SP1
1. Install FreeTDS0.51
>./configure --with-tdsver=4.2 --enable-msdblib --enable-dbmfix
--with-gnu-ld --enable-shared --enable-static
>make
>make install
Set enviroment in bash Shell
> SYBASE=/usr/local/freetds
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYBASE/lib
> export SYBASE LD_LIBRARY_PATH
Insert /usr/local/freetds/lib to etc/ld.so.conf
>ldconfig
Edit file /usr/local/freetds/interfaces
NTSVR4
query tcp tds4.2 207.120.42.150 1433
master tcp tds4.2 207.120.42.150 1433
2. Install PHP
>./configure --enable-track-vars --with-mysql=/usr/local/mysql --with-apxs
--with-sybase-ct=/usr/local/freetds
Replace "dbopen" with "tdsdbopen" in
/usr/local/php4/ext/sysbase/php_sybase_db.c
>make
Here is the error message
/usr/bin/ld: cannot open -lsybtcl: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/php4'
make: *** [all-recursive] Error 1
I searched all over php support forums, but I still haven't found a
solution yet.
Thanks
Bn
- Error Compiling FreeTDS0.51 with Php4.03Pl1, bao nguyen, 11/30/2000
Archive powered by MHonArc 2.6.24.