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 17:40:15 -0500 (EST)


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