[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Net::SAML build problems with 0.39



On Wed, 2009-11-11 at 01:49 +0100, sampo@xxxxxxxxxxx wrote:
> Christian Borup wrote:
> > But "make test" in Net/ fails with the following:
> >
> > PERL_DL_NONLAZY=1 /usr/local/adapt/local/perl5.8.7/bin/perl "-Iblib/lib"
> > "-Iblib/arch" test.pl
> > Can't load 'blib/arch/auto/Net/SAML/SAML.so' for module Net::SAML:
> > blib/arch/auto/Net/SAML/SAML.so: undefined symbol:
> > zxid_idp_soap_dispatch
> > at /adapt/local/perl5.8.7/lib/5.8.7/i686-linux/DynaLoader.pm line 230.
> >  at blib/lib/Net/SAML.pm line 8
> > Compilation failed in require at test.pl line 5.
> > BEGIN failed--compilation aborted at test.pl line 5.
> > make: *** [test_dynamic] Error 2
> 
> perl usually takes good care of LD_LIBRARY_PATH, so that should not
> happen. You may want to play with LD_LIBRARY_PATH and if you
> can fix it, then we could perform differential analysis about
> what went wrong.

The problem seems to be something else entirely. The files zxididpx.c
and zxidconf.c had bits #if'd out. 

The attached patch fixed my build issues for now. It includes the
Makefile change which is obviously not the right fix.

> > And zxid.pl segfaults when run.
> 
> Then it should dump core (check ulimit -c unlimited and
> httpd.conf CoreDumpDirectory). Can you gdb it and send me bt, please?

Sure here you go:
(gdb) bt
#0  0xb76c5dc6 in _wrap_zxid_lecp_check (my_perl=0x8f29008,
cv=0x90b7518)
    at SAML_wrap.c:28135
#1  0x080b3c92 in Perl_pp_entersub ()
#2  0x080b2069 in Perl_runops_standard ()
#3  0x080b04d0 in perl_run ()
#4  0x08063ebd in main ()

> Overall, it is more advisable to run zxidhlo.pl

Thanks. I just wanted something to run.
FYI zxidhlo.pl doesn't segfault (yet).

I'm still at the get it to build stage. Next comes how to use it...

Thanks for the swift reply.
Borup

[demime 1.01d removed an attachment of type text/x-patch which had a name of build-fix.diff"; charset="UTF-8]