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

jay jsoucy at mos.org
Wed Jul 3 15:03:00 EDT 2002


> 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

Boy did it ever help! Apache is up and running! Now time to test a
connection!

Thank you so much Brian, I really appreciate your help.

Have a great weekend,
Jay

> 
> 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
> > 
> >



More information about the FreeTDS mailing list