Skip to Content.
Sympa Menu

freetds - Re: apache+php+freetds segmentation fault

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: apache+php+freetds segmentation fault
  • Date: Wed, 18 Jul 2001 07:18:18 -0400 (EDT)



This generally happens when freetds can't find the server. Either because
it's missing from the freetds.conf file or if you're using the interfaces
file, you don't have $SYBASE set to the installation directory. A less
likely reason is you don't have $LD_LI?RARY_PATH or ld.so.conf modified to
include the path to $SYBASE/lib.

make sure you are export SYBASE prior to launching apache or putting the
SetEnv SYBASE /usr/local/freetds directory in httpd.conf

I'm trying to get a patch together to fix (to at least return an
intelligent message) this but been busy with big endian patches (TDS 7 now
works on Sparc and LinuxPPC if you use the CVS version with a couple small
issues to still resolve, thank Paul Schaap for doing the testing on this
one).

Another possibility is you are running into the DBM conflict, in which
case configure freetds with the --with-dbmfix flag.

If none of this works, there were some bugs in 0.52 dealing with the
interfaces file handling on some platforms. Try using the latest CVS
snapshot and let me know how it works.

Brian

On Wed, 18 Jul 2001, Ireneusz Pluta wrote:

> Hello All,
>
> I am a novice to the group and freetds. I am trying to build
> apache1.3.19+php4.0.3pl+freetds-0.51 on a FreeBSD4.0.
>
> But after everyting is compiled and I try to run apache server, it
> returns segmentation error.
>
> What I do is as follows:
>
> cd ../freetds-0.52
> ./configure
> gmake
> gmake install
> cd ../apache_1.3.19
> ./configure
> cd ../php-4.0.3pl1
> ./configure --with-apache=../apache_1.3.19
> --with-sybase=/usr/local/freetds
> gmake
> gmake install
> cd ../apache_1.3.19
> gmake
> gmake install
>
> After building apache+php without freetds the httpd daemon starts OK.
>
> Anyone could help?
>
> Thanks,
>
> Irek.
>
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>






Archive powered by MHonArc 2.6.24.

Top of Page