in reply to Event::Lib fails install test (cpan -t)

Can't load '/root/.cpan/build/Event-Lib-1.03/blib/arch/auto/Event/Lib/Lib.so' for module Event::Lib: libevent-1.3d.so.1: cannot open shared object file: No such file or directory

'/root/.cpan/build/Event-Lib-1.03/blib/arch/auto/Event/Lib/Lib.so' can be found - but it can't be loaded because 'libevent-1.3d.so.1' can't be found. I'm not a *nix person, so I'm unsure of the fix. Is it simply a matter of running ldconfig (from the command line) as root ?

Cheers,
Rob
  • Comment on Re: Event::Lib fails install test (cpan -t)

Replies are listed 'Best First'.
Re^2: Event::Lib fails install test (cpan -t)
by Ray Smith (Beadle) on Aug 30, 2007 at 14:15 UTC
    Thanks Rob, '/root/.../Lib/Lib.so' is there. Not being to familiar my self, I just tried:
    ldconfig root/.cpan/build/Event-Lib-1.03/blib/arch/auto/Event/Lib/Lib +.so
    When re-running cpan -t Event::Lib, I still get the following:
    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: libev +ent-1.3d.so.1: cannot open shared object file: No such file or direct +ory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm lin +e 230. at t/01_event-lib.t line 10
      Funny :) auto/Event/Lib/Lib.so can't find libevent-1.3d.so.1