httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Skladovs, Victor" <Skla...@his.de>
Subject AW: [users@httpd] Apache 2 on Solaris 5.8: Can not load modules
Date Tue, 27 Apr 2004 07:47:42 GMT


Hi, Milan!

Thanx for your reply!
Gcc version is 3.3.2. I can't find libgcc_s.so on my machine, it seems like it is not installed.

Unfortunately, I can't provide you with the outputs of mod_cache. I have recompiled Apache
without these modules (mod_cache and mod_mem_cache and mod_disk_cache). I had to comment out
mod_status as well. It works now.
The output of mod_status:

bash-2.03# ldd mod_status.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
bash-2.03# ldd -d mod_status.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        symbol not found: ap_extended_status            (./mod_status.so)
        symbol not found: ap_my_generation              (./mod_status.so)
        symbol not found: ap_scoreboard_image           (./mod_status.so)
        /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1

Any ideas?

Regards,
Viktor

-----Urspr√ľngliche Nachricht-----
Von: Milan Andric [mailto:mandric@eecs.berkeley.edu] 
Gesendet: Montag, 26. April 2004 18:31
An: users@httpd.apache.org
Betreff: Re: [users@httpd] Apache 2 on Solaris 5.8: Can not load modules

On Mon, Apr 26, 2004 at 11:08:23AM +0200, Skladovs, Victor wrote:
> Hi!
> 
>  
> 
> I'm trying  desperate to install Apach 2 (2.0.49) on my Solaris 5.8
> machine.
> 
> I had searched the Internet before posting, but no solution found.
> 
> I've got no error messages while "configuring" and "making" it,  but
> when I try to start it, I've got the following:
> 
>  
> 
> bash-2.03# ./apachectl start
> 
> Syntax error on line 238 of /usr/local/apache2/conf/httpd.conf:
> 
> 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 symbol from libgcc_s.so so you may not have your libs linked
correctly. what version of gcc? where is libgcc_s.so located? what does 
# ldd /usr/local/apache2/bin/httpd 
or 
# ldd /usr/local/apache2/modules/mod_cache.so
return?

maybe try 
# LDFLAGS="-L/usr/local/lib -R/usr/local/lib" ./configure && make

or you might need to add it manually to the makefile by adding -lgcc_s or maybe
edit build/config_vars.mk at line
# EXTRA_LIBS = -lz -lssl -lcrypto -lgcc_s

that helped me build 2.0.47 on solaris 8 ...
-- 
Milan

---------------------------------------------------------------------
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


Mime
View raw message