Skip to Content.
Sympa Menu

freetds - RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Aliet Santiesteban Sifontes <alietss AT yahoo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS
  • Date: Mon, 6 Jan 2003 07:53:30 -0800 (PST)

Hi Lowden and thank's for answer, this is the output
of the ldd command...

[root@ecodevel root]# ldd /usr/lib/php4/mssql.so
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x80000000)
[root@ecodevel root]#
and this is the list of files of my freetds...
[root@ecodevel root]# rpm -ql freetds
/etc/freetds
/etc/freetds/freetds.conf
/etc/freetds/locales.conf
/etc/freetds/pool.conf
/usr/bin/freebcp
/usr/bin/tdspool
/usr/bin/tsql
/usr/lib/libct.so
/usr/lib/libct.so.0
/usr/lib/libct.so.0.0
/usr/lib/libsybdb.so
/usr/lib/libsybdb.so.2
/usr/lib/libsybdb.so.2.0
/usr/lib/libtds.so
/usr/lib/libtds.so.1
/usr/lib/libtds.so.1.1
/usr/lib/libtdssrv.so
/usr/lib/libtdssrv.so.1
/usr/lib/libtdssrv.so.1.0
/usr/man/man1/freebcp.1.gz
/usr/man/man1/tsql.1.gz
/usr/share/doc/freetds-0.60
/usr/share/doc/freetds-0.60/AUTHORS
/usr/share/doc/freetds-0.60/BUGS
/usr/share/doc/freetds-0.60/COPYING
/usr/share/doc/freetds-0.60/ChangeLog
/usr/share/doc/freetds-0.60/INSTALL
/usr/share/doc/freetds-0.60/NEWS
/usr/share/doc/freetds-0.60/PWD
/usr/share/doc/freetds-0.60/README
/usr/share/doc/freetds-0.60/TODO
/usr/share/doc/freetds-0.60/debug.c
/usr/share/doc/freetds-0.60/interfaces
[root@ecodevel root]#

and here of freetds-devel...

[root@ecodevel root]# rpm -ql freetds-devel
/usr/include/freetds
/usr/include/freetds/bkpublic.h
/usr/include/freetds/cspublic.h
/usr/include/freetds/cstypes.h
/usr/include/freetds/ctlib.h
/usr/include/freetds/ctpublic.h
/usr/include/freetds/dblib.h
/usr/include/freetds/freetds_sysconfdir.h
/usr/include/freetds/sqldb.h
/usr/include/freetds/sqlfront.h
/usr/include/freetds/sybdb.h
/usr/include/freetds/syberror.h
/usr/include/freetds/sybfront.h
/usr/include/freetds/tds.h
/usr/include/freetds/tds_sysdep_public.h
/usr/include/freetds/tdsconvert.h
/usr/include/freetds/tdssrv.h
/usr/include/freetds/tdsver.h
/usr/lib/libct.a
/usr/lib/libct.la
/usr/lib/libsybdb.a
/usr/lib/libsybdb.la
/usr/lib/libtds.a
/usr/lib/libtds.la
/usr/lib/libtdssrv.a
/usr/lib/libtdssrv.la
[root@ecodevel root]#

here the provides...

[root@ecodevel root]# rpm -q --provides freetds
libct.so.0
libsybdb.so.2
libtds.so.1
libtdssrv.so.1
freetds = 0.60-7
[root@ecodevel root]#

To build mssql with my freetds I modified the
config.m4 file and added the freetds folder to the
incluedes..


Any Ideas??

--- "Lowden, James K" <LowdenJK AT bernstein.com> wrote:
> > From: Aliet Santiesteban Sifontes
> [mailto:alietss AT yahoo.com]
> > Sent: January 6, 2003 12:00 AM
> >
> > I built succesfully the new mssql extension
> > trought freetds-0.60 from yesterday snapshot, on a
> > RedHat 8.0.92 box with httpd-2.0.40-14, php-4.3.0,
> but
> > the apache server crash when starts, this is the
> error
> > log...
> > /usr/sbin/httpd: relocation error:
> > /usr/lib/php4/mssql.so: undefined symbol: dbinit
>
> Path problem. The runtime linker doesn't find the
> FreeTDS library and thus
> cannot resolve the dbinit() function call. That
> might be a function of how
> you configured php.
>
> Try "ldd /usr/lib/php4/mssql.so" to see the
> directory for the FreeTDS
> library. Then convince your runtime linker to look
> there. See "ldconfig
> and LD_LIBRARY_PATH" in the User Guide for more
> detailed advice.
>
> HTH.
>
> --jkl
>
>
> The information contained in this transmission may
> contain privileged and
> confidential information and is intended only for
> the use of the person(s)
> named above. If you are not the intended recipient,
> or an employee or agent
> responsible for delivering this message to the
> intended recipient, any
> review, dissemination, distribution or duplication
> of this communication is
> strictly prohibited. If you are not the intended
> recipient, please contact
> the sender immediately by reply e-mail and destroy
> all copies of the
> original message. Please note that we do not accept
> account orders and/or
> instructions by e-mail, and therefore will not be
> responsible for carrying
> out such orders and/or instructions.
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com




Archive powered by MHonArc 2.6.24.

Top of Page