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: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] PHP-4.3.0 MSSQL and FreeTDS
  • Date: Mon, 6 Jan 2003 11:15:32 -0500

> From: Aliet Santiesteban Sifontes [mailto:alietss AT yahoo.com]
> Sent: January 6, 2003 10:54 AM
>
> Hi Lowden

("James", please.)

> and thanks 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

We can stop there. mssql.so will not try to load any FreeTDS library; we
know that because "ldd" doesn't mention one.

I should mention, I don't have php installed and don't use it. I'm
addressing your question at the OS level. It was clear from your earlier
message that php was failing to load the FreeTDS libraries.

Some part of php has to load libsybdb or libctl (depending on how it was
configured). On another thread, I saw this:

> then I execute phpinfo() , it say included :
> --with-mysql=shared,/usr' '--with-unixODBC=shared,/usr'
> '--with-recode=shared,/usr' '--enable-xslt'
> '--with-xslt-sablot=shared,/usr'
> '--with-snmp=shared' '--enable-ucd-snmp-hack'
> '--with-sybase-ct=shared,/usr'

Can you invoke the same function to get the same report?

It occurs to me that your PHP RPM might be linking in ct-lib instead of
db-lib. That would be a problem, because you're requesting a db-lib
function (dbinit). The db-lib library is "libsybdb".

Regards,

--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.






Archive powered by MHonArc 2.6.24.

Top of Page