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

jay jsoucy at mos.org
Wed Jul 3 13:24:40 EDT 2002


> Ok, a 5 minute google search yields this.
> 
> __eprintf() is an internal gcc function that gets linked into the
> executable (it's used by the assert function).  So, since this is a shared
> lib, it is not compiled in to libsybdb.so but instead into the final
> executable (apache).  My guess is that different compilers were used for
> compiling freetds/php/apache somewhere along the line?  If not, write back
> and we'll dig deeper.
>

I was thinking the same thing, so I went back and rebuilt freetds, apache,
& php. Here's what I did:

freetds
CC=gcc ./configure; make; make install

apache
CC=gcc ./configure --enable-module=most --enable-shared=max
--enable-module=ssl; make; make install

php
CC=gcc ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-sybase=/usr/local/freetds --with-mysql; make; make install

Same error!

-Jay
> Brian
> 
> > Brian,
> > 
> > Thanks for writing. This is with version 0.53. I started over again,
> > recompiling freetds and then recompiling php. Same stuff when I start
> > apache:
> > 
> > Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/freetds/lib//libsybdb.so.1: symbol __eprintf: referenced symbol
> > not found



More information about the FreeTDS mailing list