Apache 1.3.24 startup error on Solaris 8 _floatdisf error

Apache 1.3.24 startup error on Solaris 8 _floatdisf error

Post by Kiran Prasa » Sun, 14 Apr 2002 03:47:21



The following error occurs when I try to start Apache:
apacheserver# ./apachectl start
Syntax error on line 214 of /usr/local/apache/conf/httpd.conf:Cannot
load /usr/local/apache/libexec/mod_negotiation.so into server:
ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error:file
/usr/local/apache/libexec/mod_negotiation.so: symbol __floatdisf:
referenced symbol not found
./apachectl start: httpd could not be started

I can comment this module in httpd.conf, but I get the same error for
mod_proxy.
After commenting the line for mod_proxy in httpd.conf.  I do get
apache to start up.

I was wondering if there is a workaround to the above error as I would
like apache to be compiled with all modules.  I have seen a lot of
questions regarding the above on the net, but am yet to find the
solution for it.

I have compiled apache with 2.95, 3.03 and 3.04 with and without
binutils.  I am using
perl 5.6.0
openssl0.9.6c
mod_ssl2.8.8-1.3.24
apache1.3.24 and
mod_perl1.26

I am building apache, via mod_perl
My configure in mod_perl is posted below
perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
APACHE_SRC=../apache_1.3.x/src \
SSL_BASE=/usr/local/ssl \
APACHE_PREFIX=/usr/local/apache \
APACI_ARGS=--with-layout=Apache,--enable-module=all,--enable-shared=max,--disable-module=auth_db,--disable-shared=perl,--enable-rule=SSL_EXPERIMENTAL

Any suggestion would help.  I don't have SUN's compiler (cc) and would
like to use gcc.

Thanks

 
 
 

1. Apache 1.3.24 startup error on Solaris 8 _floatdisf error

The solution to the problem mentioned below:
You will need to reference the symbol in buildmark.c

Add the following in apache_1.3.xx/src/buildmark.c
and recompile it.

#ifdef __GNUC__
extern void __eprintf () ;
static void (*horrible) () =__eprintf;
extern void __floatdisf () ;
static void (*horrible) () =__floatdisf;
#endif

AFTER
#include "ap_config.h"
#include "httpd.h"

and it works.

---------------My Original Post Below.  ----------------------------
---------------I could not post a follow
---------------up on this as it has been more than a month
-----------------
The following error occurs when I try to start Apache:
apacheserver# ./apachectl start
Syntax error on line 214 of /usr/local/apache/conf/httpd.conf:Cannot
load /usr/local/apache/libexec/mod_negotiation.so into server:
ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error:file
/usr/local/apache/libexec/mod_negotiation.so: symbol __floatdisf:
referenced symbol not found
./apachectl start: httpd could not be started

I can comment this module in httpd.conf, but I get the same error for
mod_proxy.
After commenting the line for mod_proxy in httpd.conf.  I do get
apache to start up.

I was wondering if there is a workaround to the above error as I would
like apache to be compiled with all modules.  I have seen a lot of
questions regarding the above on the net, but am yet to find the
solution for it.

I have compiled apache with 2.95, 3.03 and 3.04 with and without
binutils.  I am using
perl 5.6.0
openssl0.9.6c
mod_ssl2.8.8-1.3.24
apache1.3.24 and
mod_perl1.26

I am building apache, via mod_perl
My configure in mod_perl is posted below
perl Makefile.PL USE_APACI=1 EVERYTHING=1 \
APACHE_SRC=../apache_1.3.x/src \
SSL_BASE=/usr/local/ssl \
APACHE_PREFIX=/usr/local/apache \
APACI_ARGS=--with-layout=Apache,--enable-module=all,--enable-shared=max,--disable-module=auth_db,--disable-shared=perl,--enable-rule=SSL_EXPERIMENTAL

Any suggestion would help.  I don't have SUN's compiler (cc) and would
like to use gcc.

Thanks

2. Do Not Click Here Unless You Wanna Go To A Cool Website!

3. Apache 1.3.24 make install error

4. sndconfig?

5. 403 Error with Apache ver 1.3.24 RH7.3

6. Solaris 2.3: combining dynamic and static linking

7. make error with version 1.3.24 on Solaris 8

8. Characters differ, Unix vs MS-Win

9. Problem building Apache 1.3.24 on Solaris 8

10. Kernel 1.3.24 Shutdown Error Msg

11. Apache 1.3.24 + mod_perl 1.26 + ipv6 patch build fails

12. apache 1.3.24 htaccess/symbolic link problem

13. Apache 1.3.24 - mod_proxy