I can't install Event::Lib for this reason:
Can't load '/root/.cpan/build/Event-Lib-1.03/blib/arch/auto/Event/Lib/Lib.so' for module Event::Lib:
the Lib.so exists in the right place:
[root@localhost ~]# ls -ld /root/.cpan/build/Event-Lib-1.03/blib/arch/ +auto/Event/Lib/Lib.so -rwxr-xr-x 1 root root 142438 Sep 17 12:07 /root/.cpan/build/Event-Li +b-1.03/blib/arch/auto/Event/Lib/Lib.so
I don't know why Event::Lib can't load this Lib.so.
following is a more detail install log:
....... Checking existance of libevent...yes Checking capabilities... event_set_log_callback...yes event_priority_init...yes Additional defines: -DHAVE_LOG_CALLBACKS -DHAVE_PRIORITIES Checking if your kit is complete... Looks good Note (probably harmless): No library found for -levent Writing Makefile for Event::Lib cp lib/Event/Lib.pm blib/lib/Event/Lib.pm /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/ +perl5/5.8.8/ExtUtils/typemap -typemap typemap Lib.xs > Lib.xsc && mv + Lib.xsc Lib.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdecla +ration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FI +LE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m64 -DVERSION= +\"1.03\" -DXS_VERSION=\"1.03\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64 +-linux-thread-multi/CORE" -DHAVE_CONFIG_H -DHAVE_LOG_CALLBACKS -DHAV +E_PRIORITIES Lib.c Running Mkbootstrap for Event::Lib () chmod 644 Lib.bs rm -f blib/arch/auto/Event/Lib/Lib.so gcc -shared Lib.o -o blib/arch/auto/Event/Lib/Lib.so \ -lm \ chmod 755 blib/arch/auto/Event/Lib/Lib.so cp Lib.bs blib/arch/auto/Event/Lib/Lib.bs chmod 644 blib/arch/auto/Event/Lib/Lib.bs Manifying blib/man3/Event::Lib.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_pod.........................ok t/00_pod_coverage................ok t/01_event-lib...................Can't load '/root/.cpan/build/Event-L +ib-1.03/blib/arch/auto/Event/Lib/Lib.so' for module Event::Lib: /root +/.cpan/build/Event-Lib-1.03/blib/arch/auto/Event/Lib/Lib.so: undefine +d symbol: event_loop at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-mu +lti/DynaLoader.pm line 230. at t/01_event-lib.t line 10 Compilation failed in require at t/01_event-lib.t line 10. BEGIN failed--compilation aborted at t/01_event-lib.t line 10. t/01_event-lib...................dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-2 Failed 2/2 tests, 0.00% okay t/10_event.......................Can't load '/root/.cpan/build/Event-L +ib-1.03/blib/arch/auto/Event/Lib/Lib.so' for module Event::Lib: /root +/.cpan/build/Event-Lib-1.03/blib/arch/auto/Event/Lib/Lib.so: undefine +d symbol: event_loop at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-mu +lti/DynaLoader.pm line 230. at t/10_event.t line 3 Compilation failed in require at t/10_event.t line 3. BEGIN failed--compilation aborted at t/10_event.t line 3. .......
I can't figure out what is wrong. some hint?

In reply to Re: Does Event::Lib can be use on 64 bit box? by sunshine_august
in thread Does Event::Lib can be use on 64 bit box? by sunshine_august

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.