Skip to Content.
Sympa Menu

freetds - Re: apache can't start after successful apache/php/freetds- build

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: apache can't start after successful apache/php/freetds- build
  • Date: Wed, 3 Jul 2002 13:09:51 -0400


Ok, that probably needs to be

export EXTRA_LIBS="-L/path/to/gcc/lib -lgcc"
etc...

PHP uses EXTRA_LIBS i think...not sure if it makes a difference but the -L
will
do a 'find /path/to/gcc -name "libgcc.a" -print' if you don't know where
the libgcc.a lives.

Hope this one helps

Brian

> > As near as I can tell you are missing libgcc.a being linked in
> > somewhere...but where? apache looks like a good spot maybe...
> >
> > cd apache-1.3.x
> > LIBS="-lgcc"
> > export LIBS
> > ./configure ...yada yada yada..
> > make
> > make install
> >
>
> I rebuilt apache after setting LIBS to -lgcc, but got the same error on
> apachectl start. So I gave it a shot in the PHP directory, and make
> crashed:
>
> ld: fatal: library -lgcc: not found
> ld: fatal: File processing errors. No output written to .libs/libphp4.so
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.2.1'
> make: *** [all-recursive] Error 1
>
> Jay
>
>




Archive powered by MHonArc 2.6.24.

Top of Page