You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brandon Drake <bd...@aloha.net> on 2002/03/16 07:16:09 UTC

Re: fatal: relocation error

#!/bin/sh
##
##  config.status -- APACI auto-generated configuration restore script
##
##  Use this shell script to re-run the APACI configure script for
##  restoring your configuration. Additional parameters can be supplied.
##

./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache" \
"--enable-module=so" \
"$@"



On Fri, 15 Mar 2002, Stephen Reppucci wrote:

>
> Send your config.status file so we can see what you're doing to
> build it.
>
> It sound like you're trying to load dynamic modules, but failed to
> enable mod_so, which is the module that bootstraps the loading of
> shared modules.
>
> On Fri, 15 Mar 2002, Brandon Drake wrote:
>
> >
> > i'm having problems starting apache after i recompiled http to work with
> > php.  i'm working in a solaris 8 environment.
> >
> > the error i receive looks similar to this ....
> >
> > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/mod_env.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/mod_env.so: symbol ap_palloc: referenced symbol
> > not found
> > ./apachectl start: httpd could not be started
> >
> > i've seen postings with problems/solutions similar to my situation but
> > still having problems.
> >
> > appreciate any help?
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
> --
> Steve Reppucci                                       sgr@logsoft.com |
> Logical Choice Software                          http://logsoft.com/ |
> =-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: fatal: relocation error

Posted by Stephen Reppucci <sg...@logsoft.com>.
Where's the '--enable-module=env --enable-shared=env' lines?
>From the error message, you're trying to load mod_env dynamically
(LoadModule/AddModule), but you haven't built it as a loadable
module.

Read the README.configure file in the apache distribution for an
explanation of this.

<Steve>

On Fri, 15 Mar 2002, Brandon Drake wrote:

>
> #!/bin/sh
> ##
> ##  config.status -- APACI auto-generated configuration restore script
> ##
> ##  Use this shell script to re-run the APACI configure script for
> ##  restoring your configuration. Additional parameters can be supplied.
> ##
>
> ./configure \
> "--with-layout=Apache" \
> "--prefix=/usr/local/apache" \
> "--enable-module=so" \
> "$@"
>
>
>
> On Fri, 15 Mar 2002, Stephen Reppucci wrote:
>
> >
> > Send your config.status file so we can see what you're doing to
> > build it.
> >
> > It sound like you're trying to load dynamic modules, but failed to
> > enable mod_so, which is the module that bootstraps the loading of
> > shared modules.
> >
> > On Fri, 15 Mar 2002, Brandon Drake wrote:
> >
> > >
> > > i'm having problems starting apache after i recompiled http to work with
> > > php.  i'm working in a solaris 8 environment.
> > >
> > > the error i receive looks similar to this ....
> > >
> > > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > > Cannot load /usr/local/apache/libexec/mod_env.so into server: ld.so.1:
> > > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > > /usr/local/apache/libexec/mod_env.so: symbol ap_palloc: referenced symbol
> > > not found
> > > ./apachectl start: httpd could not be started
> > >
> > > i've seen postings with problems/solutions similar to my situation but
> > > still having problems.
> > >
> > > appreciate any help?
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> > --
> > Steve Reppucci                                       sgr@logsoft.com |
> > Logical Choice Software                          http://logsoft.com/ |
> > =-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

-- 
Steve Reppucci                                       sgr@logsoft.com |
Logical Choice Software                          http://logsoft.com/ |
=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org