Phil -

     Once I added the apxs debugging flags as you prescribed, the module
stopped abending. Everything is functioning now.

Garey Mills

> Hi,
> I ran into similar problems when testing the module on a z series
> Linux image, and recall them being related to how the architecture
> treated variables of certain types (int vs long, etc.).  In order to
> track the problem down, I compiled the module with GDB debugging
> support (I believe with apxs the flag to pass this on to the compiler
> is -Wc,"-ggdb").  Then, you can start apache in the debug mode (httpd
> -X), then use gdb to attach to the process (use the 'attach [pid]'
> command from within gdb) and perform the action that causes the crash.
>  You should then be able to determine where the crash is occurring by
> examining the backtrace in GDB.  If you can get me that information, I
> can take a stab at diagnosing what the issue is.
>
> Have you tried enabling CASDebug and setting the server LogLevel to
> debug?  That may also provide some clues as to what steps are getting
> completed before the bus error is provoked and is far less involved
> than the troubleshooting method I describe above.
>
> -Phil
>
> On Fri, Jul 25, 2008 at 4:57 PM,  <[EMAIL PROTECTED]> wrote:
>> Hi -
>>
>>     I'm trying to install mod_auth_cas into apache httpd 2.2.8 on a
>> Solaris 10 Sparc server. When I use apxs to compile the module for
>> dynamic load, I am getting the message
>>
>> Cannot load /opt/apache-2.2.8/modules/mod_auth_cas.so into server:
>> ld.so.1: httpd: fatal: relocation error: file
>> /opt/apache-2.2.8/modules/mod_auth_cas.so: symbol SSL_connect:
>> referenced
>> symbol not found
>>
>>
>>     In order to get around this, I used a set of commands to compile the
>> module using static libraries
>>
>> apxs -i -c mod_auth_cas.c -lresolv -ldl -lssl -lcrypto -lz
>>
>> using the version of the module compiled like this, the httpd starts and
>> stops without problem, but httpd instances abend thusly:
>>
>> child pid 3119 exit signal Bus error (10)
>>
>>
>>     Anyone have any ideas?
>>
>> Garey Mills
>> Library Systems Office
>> UC Berkeley
>>
>>
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>


_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to