Problem adding DSO module to Apache 2.0.35 on 64 bit Solaris 8 2/02

Problem adding DSO module to Apache 2.0.35 on 64 bit Solaris 8 2/02

Post by Vams » Thu, 23 May 2002 10:53:06



Hi All,
I have this:
-------------------------------------
Apache Web Server 2.0.35
GNU CC version 2.95.3
GNU gcc library version 3.0.3
GNU awk version 3.1.0
Berkley embedded DB version 4.0.14
GNU make version 3.79.1
GNU automake version 1.5
Perl version 5.005_03 built for sun4-solaris
Perl Compatable Regular Expression (pcre) version 3.9
------------------------------------------------------
and

I've used the following options in configure:
-----------------------------------------------------------------
./configure --enable-shared=max --enable-so --prefix=/usr/apache2
-----------------------------------------------------------------

httpd -l output is as follows:
---------------------------------------------
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c
---------------------------------------------

Apache 2.0.35 installation was successful. At this stage web server is
working just fine. Now I need to add a DSO module called edp (web
server plugin) and the procedure I followed, as described in the
product installation document is as follows:
--------------------------------------------
(a) Copied the .so file to /usr/apache2/edp directory
(b) Set EDP_PLUGIN_CONF_FILE variable to
/usr/apache2/edp/<CONFIG_FILE_NAME>
(c) Altered file httpd.conf to include  
    "LoadModule edp_module /usr/apache2/edp/httpAgent_apache.so"
    in DSO section
--------------------------------------------

After this trying to start Apache with "apachectl start" results in
the following error:

*************************** E R R O R begin ************************
Syntax error on line 218 of /usr/apache2/conf/httpd.conf:
Cannot load /usr/apache2/edp/httpAgent_apache.so into server: ld.so.1:
/usr/apache2/bin/httpd: fatal: relocation error: file
/usr/apache2/edp/httpAgent_apache.so: symbol ap_table_get: referenced
symbol not found
./apachectl start: httpd could not be started
*************************** E R R O R end ************************

I'm not sure what is causing this error?

Any clues folks!

Appreciate your help in advance.

Rgds,
Reddy

 
 
 

1. Apache 2.0.35-Solaris8(64 bit)-make install error- [exports.lo] Error 1

Im using gcc 2.95.3

./configure --prefix=/....../httpd-2.0.35 --enable-module=most
--enable-shared=max --disable-ipv6

In my config.log I see this error:
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status

Not seeing this I ran
make
make install

Make seemed to work however make install choked.
I didnt see any errors in my make.log

In my makeinstall.log I see:
found newer headers. Will rebuild exports.c
.
.
.
.
*** [exports.lo] Error 1
Leaving directory /....../server
*** [install-recursive] Error 1
Leaving directory /....../server

Any ideas?

2. SUNWrmodu Realmode Modules in Solaris 8?

3. Would you believe...NT 5/IA-64 McKinley in 2001?...02?...64 bit NT in 03?

4. Reliable UDP...

5. HALstation (64-bit processor running 64-bit Solaris) as webserver

6. Upgrading from KDE2.0 to KDE2.1

7. 64-bit Solaris 7: wasn't Solaris 2.6 also 32-bit?

8. doom for solaris ?

9. compiling DSO on apache 2.0.35

10. Solaris Intel 8 2/02 & NVIDIA RIVA TNT2 Model 64/Model 64 Pro

11. Apache won't restart after adding a DSO module

12. apache DSO problem (Loaded DSO libexec/mod_mime.so uses plain Apache 1.3 API)

13. 64 bit Unix (esp. 64 bit IO)