Skip to Content.
Sympa Menu

freetds - Re: dbdead, PHP, and Apache

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James K. Lowden <jklowden AT speakeasy.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: dbdead, PHP, and Apache
  • Date: Mon, 16 Sep 2002 20:11:46 -0400


On Mon, 16 Sep 2002 19:48:40 -0400, "Erik" <eanders AT pobox.com> wrote:

> When I compile freetds-0.60 into Apache I get the following error when
> starting Apache.
>
> [root@UNIXWORK modules]# /etc/init.d/httpd start
> Starting httpd: Syntax error on line 57 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/libphp4.so into server:
> /etc/httpd/modules/libphp4.so: undefined symbol: dbdead

Erik,

ABI change, yes.

FreeTDS 0.53 exported DBDEAD().
FreeTDS 0.60 exports dbdead().

I think you're linking to the old libraries. What says:

$ nm /usr/local/lib/libsybdb.so.1.0 |grep -i dbdead
000036bc T _dbdead

Keep in mind that the default installation directory is /usr/local now,
not /usr/local/freetds. If you had modified your environment to use
/usr/local/freetds, you'd have to unmodify it, unless you used --prefix
when you configured 0.60. See README.0.60 for details.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page