This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

symbol ap_palloc: referenced symbol not found (Starting Apache)


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/mod_smbauth.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/mod_smbauth.so: symbol ap_palloc: referenced
symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started
bash-2.05#

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 @
http://gcc.gnu.org/ml/gcc-help/2000-06/msg00006.html

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
e-libgcj
Thread model: posix
gcc version 3.0.3

bash-2.05# ldd /usr/local/apache/bin/httpd
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1


Thanks for any help/suggestions in advance!

-Matt




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]