I don't know why Event::Lib can't load this Lib.so.[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 can't figure out what is wrong. some hint?....... 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. .......
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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |