Skip to Content.
Sympa Menu

freetds - Re: apache problem with php and freetds

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 problem with php and freetds
  • Date: Wed, 1 Nov 2000 19:27:07 -0500 (EST)




On Wed, 1 Nov 2000, Wasson, Tim wrote:

> On linux it's handled in /etc/ld.conf - add the path then run ldconfig to
> tell Linux about the new library.

Thanks Tim. Yes, that is a third option, and should be in the FAQ as well.
All users on the box inherit that setting, so I generally prefer to set
the env variable in my apache start script. But that's a matter of
personal preference.

Brian

> Tim
>
>
> > -----Original Message-----
> > From: Brian Bruns [SMTP:camber AT ais.org]
> > Sent: Wednesday,November 01,2000 4:40 PM
> > To: TDS Development Group
> > Subject: [freetds] Re: apache problem with php and freetds
> >
> > Hi,
> >
> > you need to have /usr/local/freetds/lib in your LD_LIBRARY_PATH prior to
> > starting apache like:
> >
> > export LD_LIBRARY_PATH=/usr/local/freetds/lib:${LD_LIBRARY_PATH}
> >
> > Alternatively, you could use the SetEnv directory in the httpd.conf file.
> >
> > Brian
> >
> > P.S. James, this one needs to go in the FAQ when you get a chance.
> >
> > On Thu, 26 Oct 2000, Markus Blasl wrote:
> >
> > > hi there,
> > >
> > > i can not build my apache, everytime i try to run make i get this:
> > >
> > > ./gen_test_char: error in loading shared libraries: libsybdb.so.0:
> > cannot
> > > open shared object file: No such file or directory
> > >
> > > but whe i do a 'locate libsybdb.so.0' it's there.
> > >
> > > i configured freetds like this:
> > >
> > > ./configure --with-tdsver=7.0 --enable-msdblib --enable-dbmfix
> > >
> > >
> > > and then php like this:
> > >
> > >
> > > ./configure '--with-pgsql' '--with-apache=/usr/local/src/apache_1.3.9'
> > > '--enable-track-vars' '--with-sybase=/usr/local/freetds'
> > >
> > >
> > > and finally i configured apache:
> > >
> > > ./configure --activate-module=src/modules/php3/libphp3.a
> > >
> > > please, can anybody tell me what i'm doing wrong?
> > >
> > >
> > > thanks in advance,
> > >
> > > Markus





Archive powered by MHonArc 2.6.24.

Top of Page