You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Roberto Barbieri <r....@carpinet.it> on 2003/09/22 10:59:27 UTC

[users@httpd] Problem with symbol __floatdisf on solaris 9

Hello,

i'm having a problem with apache 2.0.47 built on
Solaris 9 (Sparc).

I haven't got any errors while configuring and compiling
Apache, but when i issue the apachectl command i get this error:

Syntax error on line 69 of /opt/apache2/conf/httpd.conf:
Cannot load /opt/apache2/modules/mod_status.so into server: ld.so.1: 
/opt/apache2/bin/httpd: fatal: relocation error: file 
/opt/apache2/modules/mod_status.so: symbol __floatdisf: referenced 
symbol not found

Line 69 is:
LoadModule status_module modules/mod_status.so

My LD_LIBRARY_PATH variable is set to:
[root@lilly /sviluppo/httpd-2.0.47]$ echo $LD_LIBRARY_PATH
/opt/csw/lib:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.1/lib

Right now, i was able to start apache by removing the LoadModule and
the ExtendedStatus lines.

But , what's the problem? Does someone have a clue on what's wrong?

Thanks in advance for any help

Roberto

P.S.
The configure script i made to compile is:


nice --20 ./configure --enable-file-cache=shared\
  --enable-deflate=shared\
  --enable-logio=shered\
  --enable-mime-magic=shared\
  --enable-cern-meta=shared\
  --enable-headers=shared\
  --enable-usertrack=shared\
  --enable-unique-id=shared\
  --enable-ssl=shared\
  --enable-cgi=shared\
  --enable-suexec=shared\
  --enable-info=shared\
  --enable-vhost-alias=shared\
  --enable-speling=shared\
  --enable-rewrite=shared\
  --enable-access=shared\
  --enable-auth=shared\
  --enable-autoindex=shared\
  --enable-userdir=shared\
  --enable-dir=shared\
  --enable-alias=shared\
  --enable-imap=shared\
  --enable-status=shared\
  --enable-asis=shared\
  --enable-negotiation=shared\
  --enable-negotiation=shared\
  --enable-logio=shared\
  --enable-env=shared\
  --enable-setenvif=shared\
  --enable-actions=shared\
  --enable-mime=shared\
  --enable-log-config=shared\
  --enable-include=shared\
  --disable-cgid --with-ssl=/opt/csw \
    && nice --20 make -s && make -s install




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


Re: [users@httpd] Problem with symbol __floatdisf on solaris 9

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
On Mon, 22 Sep 2003, Roberto Barbieri wrote:

> Hello,
>
> i'm having a problem with apache 2.0.47 built on
> Solaris 9 (Sparc).
>
> I haven't got any errors while configuring and compiling
> Apache, but when i issue the apachectl command i get this error:
>
> Syntax error on line 69 of /opt/apache2/conf/httpd.conf:
> Cannot load /opt/apache2/modules/mod_status.so into server: ld.so.1:
> /opt/apache2/bin/httpd: fatal: relocation error: file
> /opt/apache2/modules/mod_status.so: symbol __floatdisf: referenced
> symbol not found
>
> Line 69 is:
> LoadModule status_module modules/mod_status.so
>
> My LD_LIBRARY_PATH variable is set to:
> [root@lilly /sviluppo/httpd-2.0.47]$ echo $LD_LIBRARY_PATH
> /opt/csw/lib:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.1/lib
>
> Right now, i was able to start apache by removing the LoadModule and
> the ExtendedStatus lines.
>
> But , what's the problem? Does someone have a clue on what's wrong?
>

The best option (I think) is to relink the offending objects
with libgcc.a:

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 <srcdir>/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.46/modules/

cd <srcdir>/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.46/modules/

./bin/apachectl configtest
Syntax OK



Hope this helps...

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