teh_steev has asked for the wisdom of the Perl Monks concerning the following question:
This is my first time creating a perl module from C with xs, and I've been stuck for hours with the same problem. (The module is imaginatively titled 'module'.
steve@thelaptop:~/module$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'blib/lib', 'blib/arch')" t/*.t t/postfix....NOK 1 # Failed test (t/module.t at line 10) # Tried to use 'module'. # Error: Can't load '/home/steve/module/blib/arch/auto/module/mod +ule.so' for module postfix: libpfq: cannot open shared object file: N +o such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225. # at (eval 4) line 2 # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at t/module.t line 10. t/module....ok 2/2# Looks like you failed 1 test of 2. t/module....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/2 tests, 50.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/postfix.t 1 256 2 1 50.00% 1 Failed 1/1 test scripts, 0.00% okay. 1/2 subtests failed, 50.00% okay. make: *** [test_dynamic] Error 1
The shared object libraries it's looking for are definitely there, and are seem to be compiled correctly- make works alright and to be honest I'm kind of at a loss as to what might be amiss. Has anyone had this problem before and if so, how is it resolvable?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: xs problem
by Velaki (Chaplain) on Aug 24, 2006 at 14:14 UTC | |
by teh_steev (Initiate) on Aug 24, 2006 at 15:16 UTC | |
|
Re: xs problem
by gellyfish (Monsignor) on Aug 24, 2006 at 15:21 UTC |