solaris and PHP4
Matthew Schumacher
schu at schu.net
Thu Aug 17 14:02:49 EDT 2000
FreeTDS list,
I just compiled freeTDS on my sun machine so that I can run php against
a M$ SQL server. (And yes I know how messed up that is, I don't have a
choice.)
Anyway when starting apache I get:
# ./apachectl start
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/freetds/lib/libsybdb.so.0: symbol __eprintf: referenced
symbol not found
./apachectl start: httpd could not be started
So it seems that libsybdb.so.0 can't find a '__eprintf' function.
This is how I configured:
FREETDS: ./configure --with-tdsver=7.0 --enable-msdblib --enable-dbmfix
Apache: ./configure --enable-module=so
PHP4: ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-sybase=/usr/local/freetds
(changed sybase.c to use tdsdbopen())
Anyone have any suggestions or ideas? I would love to get this working,
because if I can't connect M$ SQL to php, then I will be forced to use
ASP and I hate ASP.
Thanks
schu
More information about the FreeTDS
mailing list