httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John P. Dodge" <do...@cruciate.ca.boeing.com>
Subject Re: AW: AW: [users@httpd] Apache 2 on Solaris 5.8: Can not load modules
Date Thu, 29 Apr 2004 14:49:40 GMT
Mod_cache is in the modules/experimental directory and mod_status is in
the modules/generators directory. In each modules directory there is a
modules.mk file which contains the full link execution command.


On Thu, 29 Apr 2004, Skladovs, Victor wrote:

>
>
> Hi, John!
>
> THANX A LOT! IT WORKS!!!!
> But what did you mean with
> " cd ./modules/experimental
> (from modules.mk)"?
>
> I found directories "experimental" and "generators" in my src/httpd-2.0.49/modules.
>
> Thanx for help once again!
>
> Regards,
> Viktor
>
>
> -----Ursprüngliche Nachricht-----
> Von: John P. Dodge [mailto:dodge@cruciate.ca.boeing.com]
> Gesendet: Mittwoch, 28. April 2004 21:01
> An: users@httpd.apache.org
> Betreff: Re: AW: [users@httpd] Apache 2 on Solaris 5.8: Can not load modules
>
>
> On Tue, 27 Apr 2004, Skladovs, Victor wrote:
>
> >
> >
> > > Cannot load /usr/local/apache2/modules/mod_cache.so into server:
> > > ld.so.1: /usr/l
> > >
> > > ocal/apache2/bin/httpd: fatal: relocation error: file
> > > /usr/local/apache2/modules
> > >
> > > /mod_cache.so: symbol __floatdidf: referenced symbol not found
>
> This is a common problem with GCC/GCCLIB:
>
> You need to relink the offending objects with the static GCCLIB and all of
> those pesky GCC symbols will be sucked in.
>
> Here is what I did (from a previous build):
>
> Relink mod_cache.so and mod_status.so to link in __float* from libgcc.a.
>
> Find libgcc.a:
> /usr/local/bin/gcc -print-libgcc-file-name
>
> cd ./modules/experimental
> (from modules.mk)
>
> ld -G -o mod_cache.so mod_cache.lo \
>         cache_storage.lo \
>         cache_util.lo \
>         /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/libgcc.a
>
> cp mod_cache.so /opt/apache_2.0.44/modules/
>
> cd ./modules/generators
> (from modules.mk)
>
> ld -G -o mod_status.so mod_status.lo
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/libgcc.a
>
> cp mod_status.so /opt/apache_2.0.44/modules/
>
> apachectl configtest - Syntax OK
>
> ----------------------------------------
> "Mon aéroglisseur est plein d'anguilles"
> John P. Dodge
> Boeing Shared Services
>
>
> ---------------------------------------------------------------------
> 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
>    "   from the digest: users-digest-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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

----------------------------------------
"Mon aéroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message