[Tokyo.pm] mod_perlのデバッグって?

Tatsuhiko Miyagawa miyagawa @ edge.co.jp
2001年 2月 14日 (水) 13:50:42 CST


宮川@エッヂです。

mod_perl の Mailing List に以下のようなメールが流れていたのですが、
関係ありそうですか??


> Try setting LD_LIBRARY_PATH to wherever your xml lib is located. 
> Another possiblity is that you're using the old Sablotron.so (0.44) 
> rather than the newer one...
> 
> I've never used Sablotron, but I've had similar problems with ld.so 
> and oracle (libclntsh.so).  In almost every case, setting the 
> LD_LIBRARY_PATH to the correct path fixes the error.
> 
> Robert Landrum
> 
> 
> >Matt Sergeant wrote:
> >
> >> On Wed, 14 Feb 2001, tim fulcher wrote:
> >>
> >> > Hi
> >> >
> >> > finally build PHP4 as
> >> >
> >> > ./configure --with-apxs=/export/tools/apache/bin/apxs
> >> > --prefix=/export/tools --with-ldap --disable-xml \
> >> > --with-sablot=/export/tools/Sablot-0.44
> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>
> >> This is most likely your problem. Try with Sablot 0.50 which links to the
> >> same expat as XML::Parser
> >
> >That would be my approach .... except I can't get XML::Sablotron to work
> >against 0.5  :-/
> >Sablotron itself builds OK and works (well a noddy test with sabcmd
> >succeeds). Indeed XML::Sablotron make works but then I get an error with make
> >test
> >
> >humber-1033> make test
> >PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
> >-I/usr/local/lib/perl5/5.6.0/sun4-solaris -I/usr/local/lib/perl5/5.6.0
> >test.pl
> >1..10
> >Can't load 'blib/arch/auto/XML/Sablotron/Sablotron.so' for module
> >XML::Sablotron: ld.so.1: /usr/bin/perl: fatal: relocation error: file
> >blib/arch/auto/XML/Sablotron/Sablotron.so: symbol SablotGetInstanceData:
> >referenced symbol not found at
> >/usr/local/lib/perl5/5.6.0/sun4-solaris/DynaLoader.pm line 200.
> > at test.pl line 91
> >Compilation failed in require at test.pl line 91.
> >BEGIN failed--compilation aborted at test.pl line 91.
> >make: *** [test_dynamic] Error 255
> >
> >I was sticking with 0.44 because at least it worked. In fact if you think
> >Sablotron 0.44 was the problem with my earlier builds, howcome XML::Sabloton
> >operated just fine under mod_perl ?
> >
> >Thanks for the suggestion though
> >
> >
> >Tim
> 


On Thu, 15 Feb 2001 01:10:44 +0900
"OKABE, Keiichi" <okabek @ beige.ocn.ne.jp> wrote:

> perl-win32-jのメーリングリストでAxkitを使ったXML
> サーバを立てるという話をしていて、mod_perlを使い
> はじめました。XML::Sablotronというモジュールに
> バグがありそうなので、これを追いかけているところ

--
Tatsuhiko Miyagawa           Livin' On The EDGE, Co.,Ltd.
mailto:miyagawa @ edge.co.jp         http://www.edge.co.jp/




Tokyo-pm メーリングリストの案内