www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kayshav Dattatri <kays...@netscape.com>
Subject os-solaris/5477: DSO module fails to load
Date Thu, 16 Dec 1999 00:14:50 GMT

>Number:         5477
>Category:       os-solaris
>Synopsis:       DSO module fails to load
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 15 16:20:00 PST 1999
>Originator:     kayshav@netscape.com
>Release:        1.3.6 and above
SunOS 5.6 Generic_105181-12 sun4u sparc SUNW, Ultra-Enterprise
Sun Workshop C/C++ Compiler 4.2

I downloaded a binary distribution of Apache 1.3.6. Then I   built a C++ 
DSO using Apache include files on Solaris 2.6 using the Sun 4.2 C++ Compiler. 
Next I added a LoadModule 
line to httpd.conf to load my module and try to start the server. I see 
the following error in the log file and the module doesn't load: 

 [error] Cannot remove module gxapache.cpp: not found in module list 

gxapache.cpp is one of my source files. I can't seem to understand 
what's happening. I tried building and loading the same DSO (again with a binary distribution
from apache.org)  on Win32 using MSVC6.0 and it 
works fine. 

Also, when I build the Apache server locally using the Sun 4.2 C compiler and then
try loading the DSO everything works. The problem seems to happen only when I use a 
binary distribution. 

Or there any special compiler options to be used when building my DSO? Or, do I have to use
a different compiler, such as GCC?
Is there anything I'm missing? 

I also tried using the 1.3.9 binaries but it still didn't work.

I don't know if it is because of a compiler/flags mismatch. The only fix seems to be
rebuilding the Apache sources locally using the native compiler and then using DSO.

But, that is not an option for us because we don't ship Apache binaries to customers.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message