httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Gahl <>
Subject relocation error with 1.3.26
Date Tue, 16 Jul 2002 23:47:05 GMT
I have, in the past, always compiled apache statically. I now have a 
requirement where I need to use DSO.

I compile Apache with:

./configure --prefix=/usr/local/apache.test --enable-module=most 

and then compile it using:


as myself where my gcc version is:

><bgahl>: gcc -v
>Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
>gcc version 2.95.2 19991024 (release)

I install as root, and then, as root, execute (in $APACHE_HOME/bin/):

apachectl configtest

I get the following error:

><root>: ./apachectl configtest
>Syntax error on line 205 of /usr/local/apache.test/conf/httpd.conf:
>Cannot load /usr/local/apache.test/libexec/ into server: 
> /usr/local/apache.test/bin/httpd: fatal: relocation error: file 
>/usr/local/apache.test/libexec/ symbol 
>ap_os_is_path_absolute: referenced symbol not found

If I remove the offending line:

>LoadModule vhost_alias_module libexec/

then the following line will throw the above error.

I am compiling this code on Solaris 7:

><bgahl>: uname -a
>SunOS toolbar 5.7 Generic_106541-18 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

Note that if I try to execute apache with "apachectl start" I get the same 
error. Any ideas?

Bob Gahl Bicycle (Ryan Vanguard) Mobile ||     @
     ARPA/Internet:     ||  !_ \
    URL:    ||  (*)-~--+--(*)
"Sahn joong moe low ful how jee yah ching wong" - "When the
mountain has no tigers, the monkey will also declare himself
king." Chinese Proverb

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message