I am trying to compile php4 with SQL server support using freetds. It compiles fine, but when I start apache I get the following error:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: DBSETLCHARSET
freetds has been configured with:
./configure --with-tdsver=4.2
php 4.0.2 has been configured with:
./configure --with-apxs=/usr/sbin/apxs --enable-magic-quotes --enable-calendar --enable-dbase --enable-exif --enable-filepro --enable-ftp --with-interbase --with-java=/usr/local/jdk1.2.2 --with-mysql --with-pdflib=/usr --with-pgsql=/usr --with-readline=/usr --with-openssl=/usr --with-regex=php --enable-sysvsem --enable-sysvshm --enable-yp --enable-inline-optimization --with-tsrm-pthreads --disable-debug --with-xml=/usr --with-sybase=/usr/local/freetds --enable-xml
Any suggestions?
System:
Mandrake 7.0
/proc/version gives
Linux version 2.4.0-test6 (root@xxxxxxxx) (gcc version 2.95.2 19991024 (release)) #6 SMP Fri Aug 11 15:23:23 CDT 2000