solaris and PHP4

Matthew Schumacher schu at
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

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/ into server:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/freetds/lib/ symbol __eprintf: referenced
symbol not found
./apachectl start: httpd could not be started

So it seems that 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
(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.



More information about the FreeTDS mailing list