freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: freetds 0.47pre2 + RH6/i686 + PHP3& apache1.3.9 -> compile problems
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: freetds 0.47pre2 + RH6/i686 + PHP3& apache1.3.9 -> compile problems
- Date: Sun, 26 Sep 1999 10:02:58 -0400 (EDT)
Did you do a
export SYBASE=/usr/local/freetds
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$SYBASE/lib
before doing the configure/make for PHP and Apache? (assuming you are
using bash that is). Also you probably need to set these in you
httpd.conf as well (SetEnv is the directive I think)
BTW RH6.0 compiles cleanly for me without upgrading any tools.
When configuring with sybase-ct you'll need to remove the openclient
libraries other than -lct (remove -lcs -lcomn -lintl -ltcl etc...).
However the dblib version has been tested more than ctlib.
Brian
On Sun, 26 Sep 1999, Andrew Hall wrote:
> Hi, I'm hoping someone can help shed some light on why compiling FreeTDS
> into apache with the above configuration is so difficult.
>
> After noting the problems others have had with old versions of autoconf and
> libtools, I upgraded them to the latest. Then I had to remove all the
> invalid symbols to @SHELL@ in the makefiles before I could get freetds to
> compile. Once this happen I thought I had a successful compile (no further
> errors).
>
> >From there I managed to compile PHP3 with no apparent problems only to
> >find
> apache ./configure refused to take the combined php3/freetds module when
> using sybase-ct option (gave errors about invalid gcc compiler options) -
> changed to sybase (DBlib) and was able to get a successful ./configure. On
> make however, I get half way through and bombs out with a
> "./gen_test_char:error in loading shared libraries:libsybdb.so.0: cannot
> open"
>
> All compiles done as root and /usr/local/freetds is intact and libraries
> are there and available.
>
> Can someone please help with this?
>
> thanks and regards,
>
> Andrew.
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>
-
freetds 0.47pre2 + RH6/i686 + PHP3& apache1.3.9 -> compile problems,
Andrew Hall, 09/26/1999
- <Possible follow-up(s)>
- Re: freetds 0.47pre2 + RH6/i686 + PHP3& apache1.3.9 -> compile problems, Brian Bruns, 09/26/1999
- Re: freetds 0.47pre2 + RH6/i686 + PHP3& apache1.3.9 -> compile problems, Andrew Hall, 09/27/1999
Archive powered by MHonArc 2.6.24.