Skip to Content.
Sympa Menu

freetds - solaris and PHP4

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Matthew Schumacher" <schu AT schu.net>
  • To: freetds
  • Subject: solaris and PHP4
  • Date: Thu, 17 Aug 2000 14:2:49


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



  • Re: solaris and PHP4, brlewis, 08/23/2000
    • <Possible follow-up(s)>
    • solaris and PHP4, Matthew Schumacher, 01/29/2024

Archive powered by MHonArc 2.6.24.

Top of Page