freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Steve Langasek <vorlon AT netexpress.net>
- To: Richard Soderberg <richard.soderberg AT kib.ki.se>
- Cc: freetds AT lists.ibiblio.org
- Subject: [freetds] Re: Producing mssql.so
- Date: Thu, 31 Jul 2003 12:12:21 -0500
On Thu, Jul 31, 2003 at 03:10:39PM +0200, Richard Soderberg wrote:
> >You must compile FreeTDS first, and then compile the mssql extension
> >*that's in the PHP source tree*, pointing it to the FreeTDS libs. This
> >is the DSO named mssql.so
> I found a similar hint in the php docs:
> ./libtool --mode=link gcc -L/usr/path/to/freetdsl/lib -lsybdb -I.
> -I/usr/src/php-devel -DEAPI -g -02 -o php_mssql.la -avoid-version
> -module -rpath /usr/src/php-devel/ext/mssql/modules php_mssql.lo
> After some localisation/tweaking I managed to get this to run (sort
> of...) but the finished "product" (mssql.so) did not load when php
> started, php complained that it did not look lika a php library
> The source for the mssql extension sits in /tmp/php-4.1.2/ext/mssql/
> The freeTDS libs live in /usr/local/freedts/lib/
> What would a correct libtool command like the above look like?
Can you point me to the PHP docs in question? I don't believe there is
*any* libtool command that it would be correct to run by hand here.
--
Steve Langasek
postmodern programmer
-
[freetds] Producing mssql.so,
Richard Soderberg, 07/31/2003
- [freetds] Re: Producing mssql.so, Steve Langasek, 07/31/2003
Archive powered by MHonArc 2.6.24.