Skip to Content.
Sympa Menu

freetds - Re: Trouble on FreeBSD + Apache + Php3 + FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Paul Schaap" <Paul.Schaap AT dingoblue.com.au>
  • To: freetds
  • Subject: Re: Trouble on FreeBSD + Apache + Php3 + FreeTDS
  • Date: Thu, 21 Oct 1999 19:10:54


On 10/21/99, ""Paul Schaap" <Paul.Schaap AT dingoblue.com.au>" wrote:
> Prince,

On 10/21/99, ""Prince Cat" <Prince AT cubic.mat.ncku.edu.tw>" wrote:
> On 10/20/99, ""Paul Schaap" <Paul.Schaap AT dingoblue.com.au>" wrote:
>> and configured freetds with these args:
>> --with-tdsver=4.2
> I presume by using 4.2 you are connecting to MS SQL ? Which version ?
Yes, I want to connecting to MS SQL 7.0

> Grab FreeTDS-0.47 and test...
I tried FreeTDS-0.41 ~ 0.47pre2, all the same....

FreeTDS-0.47 proper is out !

> What *may* be occuring is that certain data types (eg Datetimes) may be
> causing the segfault, therefore simplify your query to only get CHARS, then
> try VARCHARS etc etc. to see what kind of datatype is causing the problem
> then feed back your results to the list. (you may try doing
> CONVERT(CHAR(10),theDate) in MS SQL to test certain conditions)
My problem is after complier with sybase(using freetds), apache httpd
can't
be execute.
And it seems libsybdb.so 's problem.
If anyone can run it (apache+php+freetds(sybase)) on FreeBSD,
please tell me what kind of version(OS, apache, php, freetds) your system
is.

> Good luck.
> REGARDS
> Paul
Thanks for your answer.

No probs

Silly question, but have you added /usr/local/freetds/lib to your
/etc/ld.so.conf
or equivalent ?

Sorry :-(, I reread your original post and saw you were playing setting the
LD, I also set SYBASE=/usr/local/freetds, cant remember why though ! ;-)

What does your apache error_log say ?

REGARDS
Paul




Archive powered by MHonArc 2.6.24.

Top of Page