symbol ap_palloc: referenced symbol not found (Starting Apache)

Matt Juszczak
Wed Dec 25 12:17:00 GMT 2002

Hello all,

Having a difficult time getting apache to start while loading a shared
object.  It seems to not be looking at the right libraries while executing.
The output of an ldd apachectl start is shown at the bottom.

bash-2.05# apachectl start
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/ into server:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/ symbol ap_palloc: referenced
symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started

The module is mod_smbauth (its on freshmeat).  This problem has about 5
results on google, but none were helpful.  Most of them talked about this
problem with the PHP module.  The problem is also discussed @

bash-2.05# uname -a
SunOS raiders 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-1

bash-2.05# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/specs
Configured with:
../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enabl
Thread model: posix
gcc version 3.0.3

bash-2.05# ldd /usr/local/apache/bin/httpd =>   /usr/lib/ =>       /usr/lib/ =>        /usr/lib/ =>     /usr/lib/ =>    /usr/lib/ =>        /usr/lib/ =>   /usr/lib/ =>     /usr/lib/ =>   /usr/lib/ =>    /usr/lib/

Thanks for any help/suggestions in advance!


More information about the Gcc-help mailing list