http://www.perlmonks.org?node_id=221940

cLive ;-) has asked for the wisdom of the Perl Monks concerning the following question: (debugging)

On trying to run SOAP::Lite through mod_perl, I get a segmentation fault when restarting Apache (I am loading the module through a startup.pl script so it gets compiled at start time).

How do I fix this problem?

Originally posted as a Categorized Question.

  • Comment on SOAP::Lite under mod_perl causes segmentation fault - how do I fix this?

Replies are listed 'Best First'.
Re: SOAP::Lite under mod_perl causes segmentation fault - how do I fix this?
by jeffa (Bishop) on Dec 23, 2002 at 20:16 UTC
Re: SOAP::Lite under mod_perl causes segmentation fault - how do I fix this?
by cLive ;-) (Prior) on Dec 23, 2002 at 19:55 UTC
    You need to re-compile Apache, adding the following option (don't ask me why :)
    --disable-rule=EXPAT
    Eg, in my case, I cd'd to my mod_perl src directory and entered:
    perl Makefile.PL USE_APACI=1 EVERYTHING=1 DO_HTTPD=1 SSL_BASE=/usr/loc +al/ssl \ APACHE_PREFIX=/usr/local/apache APACHE_SRC=../apache_1.3.27/src \ APACI_ARGS='--enable-module=ssl,--enable-module=rewrite,--disable-rule +=EXPAT,--enable-module=so make && make test && make install

    Your particular set-up will probably vary.

    .02

    cLive ;-)